willsaunders
Registered User.
- Local time
- Today, 20:21
- Joined
- Aug 8, 2001
- Messages
- 18
Hi there,
Small problem. Maybe a lengthy description but please read. Summarises at the bottom.
I am making a database to manage time sheets for the company I work for and calculate and print out reports of the amount to be charged to each client based on the hours worked. There is, amongst others, a table for time sheet entries and a table for invoices and credits. They could be incorporated into one another which might make things easier but that's not too important for me.
In the main report after each clients name I want to have a field for the total of all the entries previous for the month being printed out, all charges from each employee +/- invoices and credits. Basically this would be the calculated current balance for the clients account with us.
The next fields are all the employees and the total charges for their work to each client for the month being printed out.
The final fields will include the total of invoicing and crediting, the total charge for the month to invoice each client and then the new balance.
Their are a number of ways to simplify the database which I can think of to look into but basically, the thing that I need to be able to make it work is to have some sort of global variable in my database that can be used by all the queries, so that the report can be printed out with the correct information. Can it get initialised when the report is run or when Access opens? I just want to be able to input the month number (1-12) and maybe the year.
How can any sort of global variable be achieved for queries in Access...is it possible?
I hope so!
E-mail if necessary,
Cheers, Will.
Small problem. Maybe a lengthy description but please read. Summarises at the bottom.
I am making a database to manage time sheets for the company I work for and calculate and print out reports of the amount to be charged to each client based on the hours worked. There is, amongst others, a table for time sheet entries and a table for invoices and credits. They could be incorporated into one another which might make things easier but that's not too important for me.
In the main report after each clients name I want to have a field for the total of all the entries previous for the month being printed out, all charges from each employee +/- invoices and credits. Basically this would be the calculated current balance for the clients account with us.
The next fields are all the employees and the total charges for their work to each client for the month being printed out.
The final fields will include the total of invoicing and crediting, the total charge for the month to invoice each client and then the new balance.
Their are a number of ways to simplify the database which I can think of to look into but basically, the thing that I need to be able to make it work is to have some sort of global variable in my database that can be used by all the queries, so that the report can be printed out with the correct information. Can it get initialised when the report is run or when Access opens? I just want to be able to input the month number (1-12) and maybe the year.
How can any sort of global variable be achieved for queries in Access...is it possible?
I hope so!
E-mail if necessary,
Cheers, Will.