I will try to explain my problem as best i can and would appreciate any thoughts other people have on it, it is surely similar in some degree to someone elses previous work!
I need to produce management information on a monthly basis, one example of this type of work are an employees one to ones.
table121 contains following fields, ID scheduledDate CompletedDate Completed(yes/no)
My report/query needs to group records by the month (which i do through formatting date fields to display mm/yy), count the number of scheduled one2ones, count the number of completed one2ones, display a %.
I have played around and got this to work using querys with grouping and sums.
My problem is if the schedule date and the completed date are in different months then all of the statistics become out of sync, particualy when there are more appraisals taking place than scheduled. Any ideas?
I am Trying To calculate Costs for a particular month how do i do this when taking into account that the months obviously hae different lenghts? I have the overall week cost but how do i do it for the month?
I am trying to create an inventory which list sales by month. I have created a crosstab query from the detail history table which works fine except I would like a record for each month whether there was sales or not. So on the report I would have all 12 months for each item with the months with no sales displaying zero.
I am having issues trying to run a query. What we have is a private club that keeps track of its members with an access 2007 database. What we need to do is to be able to print out new members monthly for a state audit. The way it is setup now, our members reports prints all of the members since day one. For example, we have a state audit coming up next month for November and we would only like to print out members that have joined during the month of November, but our report is printing out all of the members since we started in August.
We do have a date joined query. The fields we would like to print are: Date Joined, Member ID, FName, LName, City, State
Every month for my construction company, I receive a pay application that consists of the following:
1) about 100 "Line Items" (each one being a different type of work performed)
2) a Subcontractor associated with each line item (a line item may have only 1 Sub, but a Sub may be listed multiple times for different line items)
3) Amount of work performed (in $$) on that line item by that particular Sub during that pay period.
My boss wants a db to track all of this info. She thinks the best way would to create a new table for each Pay Application, every month. Basically, we would be starting from scratch every month with a blank table. But, I think it would work better if the months were linked to each other in some way.
I could have a field called "Pay_App" and enter 1 or 2, etc. on every row for every line item every month. But, then each month, I would be entering a 1 (or whatever the month is) for every single line item and that seems stupid. I want to be able to pull up the entire pay schedule for a particular Sub (all of his payments throughout the entire job). Is there a way to link the different pay application tables once the data has been entered? Or is there an easier way to do this? I would appreciate any help that can be provided. Thanks.
I have stuck in something and i hope someone will help me with this: I have created a DB which shows all the students of a musical school. Each student pays a monthly fee (sep-june, 10 payments per year). I dont want to create all these columns in my main table beacause it will be too crowded. The only thing I can think of is to create 10 different tables one for each month but i think it won't work well when I want to see how much a specific student pays.. any ideas? the information for each month that i want to have is the student first and last name, date of payment, level, fees amount and money paid (and perhaps month name..). Thank you in advance guys!
I hope I can convey what I am trying to figure out. I am at a loss right now. I have a form where I input personnel information. One of the fields is for how many months experience they have with the program. What i would like is for this record to update itself every month. for example, if they initially had 2 months experience, I would enter 2. Every month therafter, that number with change to 3, 4, 5...etc. Not everyone comes to our section with the same experience, so most will have a different starting number.
This information would be seen on the personnel form, and in a report to show experience levels. Other than those two, it is not called upon.
I'm trying to create an expression that will calculate cumulative monthly totals but my expression seems to only calculate totals for all months e.g MonthDirect DespatchesCum Direct Despatches 2006/031580 21867 2006/0410681 21867 2006/059606 21867
The expression I’m using is Cum Direct Despatches: (Select Sum([Direct Despatches]) from QRY_DirectDespatches_ByMonth_ByModel)
The query should display the following results - MonthDirect DespatchesCum Direct Despatches 2006/031580 1580 2006/0410681 12261 2006/059606 21867
I'm using Access 2002 on XP. Can anyone please advise me where i'm going wrong?! Thanks in advance for the response
I have attatched a word document showing values and what I need. I want to create queries (monthly, quarterly, semi-anually, yearly). I am working with the monthly right now and if I can figure that out I am assuming I will be able to figure the others out the same way. For the monthly report I want to divide the quarterly amounts by 3, semi yearly amounts by 6, and yearly amounts by 12. Then I want their respective values to appear in the monthly statement. How do I do this?
Hi guys, Can someone please tell me if there is any way to create a query that gives me ... lets say a sum of smth monthly. I'd like to create a crosstab query to have at rows : names columns : months values : sum of smth (kilometers for drivers)
I'm curious if this is possible: I have a table set up with a list of items followed by a column for each month's quota that I manually update. I run a query from my production table and quota table that will list all my products I have a quota on followed by how many of each were produced in that particular month. In the query I point to the quota table's current month and the data from the production table is pulled by the following: Produced: Sum(IIf([production]![status]=4 And [production]![fix date] Between #01-Jan-08# And #31-Jan-08#,1,0))
How can I write this same information to pull only Jan08 information without using the "Between #X# and #X#"? In the same way, I would need to point to Jan08, Feb08, etc.. columns in my quota table automatically.
Hi all - I have an append query all set up and running but I can't figure out how to run it on a monthly basis. Could someone help me with the SQL to run the query on the 15th of every month at 7:00am? Thanks loads.
I have a database that is like storage unit business. It gives you a fee once you select which unit you take for rent. When the balance is paid off, and new Month comes around i want the database to create a new balance on the table, how would i be able to do this?
I know that i can do it in two ways as i was told but i dont know how and where to start. I create some of it but i dont know what to include in the appended query etc.
i was told that In Access Help, look for COMMAND LINE OPTIONS and you will find -X macro, which is a way you can run a given macro from a command line.
"Create an append query that adds a $40 charge to every open account. Put this query to run in a macro. Create a separate icon that is private to you so that only you know where it is. Edit the icon properties to launch access on that database file with the -x macroname appended. Now use Windows Task Scheduler to launch the icon at a specific time of day on the 10th of each month. Don't forget that the macro has to end with a QUIT action."
I need to create a MONTHLY report and I need help, please!
I created 2 combo box on the main form. The first combo box for the month drop-down list of Jan, Feb, Mar, ..., Dec. The second combo box for the year 2005, 2006, 2007, etc...
On the report underlying data source table, it has the Invoice Date field mm/dd/yyyy (for example: 11/01/2007)
I would like to select to view the report for the invoice of the month of October, 2007. How do I do that if I choose Oct and 2007 on the 2 combo boxes and click the command button View report to pick up the report for only Invoice Date during October 2007.
On the below data i am trying to get average monthly BALANCE, based on the following query ....but i only getting all records with actual balance and not month wise average balance of the customers......
----------------------------------- SELECT [customer profit].[Customer Number], AVG ([customer profit].[VAL_BAL]) AS average, Month ([customer profit].[Balance Date]) FROM [customer profit] GROUP BY [customer profit].[customer Number], [customer profit].[VAL_BAL], [customer profit].[Balance Date];
I have a database for rental units and i have two problems that i cannot solve. I have a table with 4 different options of units with different prices. what i would like to do is for the first time customers there is 1 time fee, how would i be able to charge them only 1 time and no charge after that.
My second question would be i have a payment form also and lets say a person joined today and has to pay 40 for monthly rental and 20$(the 1 time payments) which comes to 60$, and the person pays it in full so the balance is 0$, how would i set it up that a month from now, the 0$ will turn again to 40$ so the person has to pay again?
And also would i be able to set up a late charge if they dont pay on the day that they are supposed to?
I'm trying to create a pop up form that asks userto select months for a report to preview. I've writtent he query and done the report. I can do the command button to get the selectmonth form to pop up, but not sure how I pass the selected months into query for the reports. Any tutorials on this or can someone help. I've been looking around but nothing quite fits. Quite new VB also, but have a good understanding programming generally.
My boss wanted me to develop a way for a department to do a monthly report from Access. In the beginning, I set up a login for the user, then the user would input a start date and an end date to retreive the report. However, I just put part of the report up and will need to put what ever information they needed in the report. So, I did all the queries in Access and it produces correct result. Now I have to some how put it in ASP file including all those queries but dont know exactly how I would do it since I would not have a name for each query that I did in Access. Plus, in Access I used a fix date range to check the query and it works. So, I replaced 8/1/2005 with 'txtStartDate' and replaced 8/31/2005 with 'txtEndDate' and it works for one of the query. Now I when I looked at the rest of the queries I made in Access I would have to make some adjustment including the one that calculate the percentage from 2 queries. Below are several queries I made in Access but will need to somehow incroporate in ASP file.
(I replaced 8/1/2005 with 'txtStartDate' and 8/31/2005 with 'txtEndDate' in ASP file and it works. Need to do that with the rest of the queries) Query1 (count number of record in group A) Code:SELECT tblNatureOfCall.NatureDesc, SUM(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountofLogsFROM tblNatureOfCall LEFT JOIN tblCallLog ON tblNatureOfCall.ID=tblCallLog.NatureOfCallIDGROUP BY tblNatureOfCall.NatureDesc;
Query1Total (Sum of count number of record of Query1 group) Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountOfDispositionOfPatientID, tblDispositionOfPatient.DispositionFROM tblDispositionOfPatient INNER JOIN tblCallLog ON tblDispositionOfPatient.ID=tblCallLog.DispositionO fPatientIDWHERE tblDispositionOfPatient.Disposition="TRANS"GROUP BY tblDispositionOfPatient.Disposition;
Query1Percent (This find the % from Query1 and Query1Total. Need a code to format in % form as 34.00 not .3400) Code:SELECT (SUM(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)))/Total AS Expr1FROM tblNatureOfCall LEFT JOIN tblCallLog ON tblNatureOfCall.ID=tblCallLog.NatureOfCallIDGROUP BY tblNatureOfCall.NatureDesc;
Query1TotalPercent (This find the percent of a group out of the total of 2 groups) Code:SELECT [Query1Total]![CountOfDispositionOfPatientID]/[TotalQuery]![Total] AS Expr1FROM TotalQuery, Query1Total;
Query2 (count number of record in Group B) Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountOfDispositionOfPatientID, tblDispositionOfPatient.DispositionFROM tblDispositionOfPatient LEFT JOIN tblCallLog ON tblDispositionOfPatient.ID=tblCallLog.DispositionO fPatientIDWHERE tblDispositionOfPatient.Disposition<>"TRANS"GROUP BY tblDispositionOfPatient.Disposition;
Query2Total (Sum of count number of record in Group B) Code:SELECT Sum(Query2.CountOfDispositionOfPatientID) AS PatientIDTotalFROM Query2;
Query3 (count number of record of group C) Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountOfPatientDestinationID, tblHospital.HospitalNameFROM tblHospital LEFT JOIN tblCallLog ON (tblHospital.ID = tblCallLog.PatientDestinationID) AND (tblHospital.ID = tblCallLog.NotifyHospitalID)WHERE tblHospital.HospitalName <> "HCO"GROUP BY tblHospital.HospitalName;
TotalQuery (sum of Query1 count number of record and Query2 count number of records) Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS TotalFROM tblNatureOfCall LEFT JOIN tblCallLog ON tblNatureOfCall.ID=tblCallLog.NatureOfCallID;
These are the queries done in Access but will need to incroporate in ASP. Query1 is already in ASP, just need to add the rest of the queries. Dont know how I would do it.
I need to be able to count how many fields per date. I've tried several ways to add this to my query, but nothing seems to combine the dates, it just gives me nothing or 1 as the count for every line even when it is the same date......
What I am trying to accomplish is import data from a CSV file every month and have it stored as a table and have that table automatically be converted into a printable invoice. I can do the import with no problem. But I am at a bit of a loss as to how I can go about creating the database.
There is only one client that I have to make up an invoice for, but will be more in the future. I need to store the data for each months invoice and then get yearly reports off that data.
#1, How would I go about connecting each months data? #2, Should I be using a report to create the invoice layout? #3, How do I go about automating creating the invoice from the imported data? (I am at an intermediate level with VBA, but access seems to be a whole different ball game)