Hi All,
I'm trying to get my database to produce invoices. I am a surveyor and carry out asbestos surveys which involves inspecting sites and identifying asbestos containing materials.
Below are the database parameters;
I have two tables - Asbestos, AsbestosSample
Asbestos contains the client name and address and site details
AsbestosSample contains details regarding each item found
My costs are based on a charge for the survey and then a fixed charge per identified item. For example,
Invoice Total = survey cost Y + (number of samples x Z)
I plan to create a query, which contains the client details (fields in Asbestos table) and a field which counts the number of samples (=related records in the AsbestosSample table)
My expression so far has been;
DCount("*","AsbestosSample", {EXPR})
The {EXPR} is the part I can't work out.
Please help!! Many thanks in advance for your time.
I'm trying to get my database to produce invoices. I am a surveyor and carry out asbestos surveys which involves inspecting sites and identifying asbestos containing materials.
Below are the database parameters;
I have two tables - Asbestos, AsbestosSample
Asbestos contains the client name and address and site details
AsbestosSample contains details regarding each item found
My costs are based on a charge for the survey and then a fixed charge per identified item. For example,
Invoice Total = survey cost Y + (number of samples x Z)
I plan to create a query, which contains the client details (fields in Asbestos table) and a field which counts the number of samples (=related records in the AsbestosSample table)
My expression so far has been;
DCount("*","AsbestosSample", {EXPR})
The {EXPR} is the part I can't work out.
Please help!! Many thanks in advance for your time.
