S
senkurion
Hello,
I have a simple database which tracks the activity of staff members untill
he/she retires from the company. This database keeps tracks of Tel bill,
expenses, allowences etc and finally total cost to keep various staff member
in the company. all the expenses are recorded in quaretrly basis and all the
cost are presented in running sum, so the query looks like below.
Name---Date/employment---Base salary---Allowences (Q1)---Other expenses
(Q1)---Total
In above query Total is running sum(life time expenses on staff member).
Allowences and other expenses fields are calculated on quaretrly basis, so
if a staff memebers works say for 5 yrs for the company theres should be 20
quarters for allowences and 20 for other expenses.
At first I created a query with all fields and 20 quarters in design view
but while converting to datasheet view it asks for the value for "allowences"
and "other expenses" for all quarters which will appear in future. It is not
possible to give the value for future allowences and expenses because we dont
know yet.
I was thinking that may be it is possible to automaticall creat new column
only at the end of each quarter (time bound field creation which bears the
same formula as previous quarter) so that the value is automativcall
calculated and filled.
or there is any other trick to solve this problem??
Gurus please help
Thanks
I have a simple database which tracks the activity of staff members untill
he/she retires from the company. This database keeps tracks of Tel bill,
expenses, allowences etc and finally total cost to keep various staff member
in the company. all the expenses are recorded in quaretrly basis and all the
cost are presented in running sum, so the query looks like below.
Name---Date/employment---Base salary---Allowences (Q1)---Other expenses
(Q1)---Total
In above query Total is running sum(life time expenses on staff member).
Allowences and other expenses fields are calculated on quaretrly basis, so
if a staff memebers works say for 5 yrs for the company theres should be 20
quarters for allowences and 20 for other expenses.
At first I created a query with all fields and 20 quarters in design view
but while converting to datasheet view it asks for the value for "allowences"
and "other expenses" for all quarters which will appear in future. It is not
possible to give the value for future allowences and expenses because we dont
know yet.
I was thinking that may be it is possible to automaticall creat new column
only at the end of each quarter (time bound field creation which bears the
same formula as previous quarter) so that the value is automativcall
calculated and filled.
or there is any other trick to solve this problem??
Gurus please help
Thanks