G
gbpg
I have a training database. I want to have a running sum of the costs related
to different types of training. The table that contains information which
includes the following fields:
employee_id - which is a number (that contains a leading zero if this matters)
first name
last name
trd_code - a charge out rate
orientation - a check box that is a yes/no field
orientation time - a field that contains a text field to enter the hours
per training session
orientation cost - a field that is in currency
I have many other fields that have the same structure for training (i.e.
training name that is yes/no, the time it takes, and the cost)
The employees also have charge out rate based on a code (for instance, T1 to
T7 and P1 to P7 and A1 to A3) each of these codes have a cost per hour i.e.
T1 is 90.00 and hours.
How could best create a query (that can then be put on a report) that:
looks up the total costs for each type of training (by checking which
employees has taken the training x the time it takes for the training x the
actual cost (which is can be 0 if internal or some other figure if external)
+ the charge out rate (I will call this the extended cost which means the
time it takes x the charge out rate)?
to different types of training. The table that contains information which
includes the following fields:
employee_id - which is a number (that contains a leading zero if this matters)
first name
last name
trd_code - a charge out rate
orientation - a check box that is a yes/no field
orientation time - a field that contains a text field to enter the hours
per training session
orientation cost - a field that is in currency
I have many other fields that have the same structure for training (i.e.
training name that is yes/no, the time it takes, and the cost)
The employees also have charge out rate based on a code (for instance, T1 to
T7 and P1 to P7 and A1 to A3) each of these codes have a cost per hour i.e.
T1 is 90.00 and hours.
How could best create a query (that can then be put on a report) that:
looks up the total costs for each type of training (by checking which
employees has taken the training x the time it takes for the training x the
actual cost (which is can be 0 if internal or some other figure if external)
+ the charge out rate (I will call this the extended cost which means the
time it takes x the charge out rate)?