G
Guest
If someone could help me with this it would be great.
It's probally something simple but after two days I need help. I'm running a
report for and invoice. Because of the difference in what is taxed and what
is not taxed I have calculated expressions on the invoice form to give me a
total. (I will have one item for "Labor" which is not taxed and possibly
several "Parts" that are taxed). Due to the calculations the invoice total is
not returned back to the table "tblInvoiceDetails". It would be even better
if I could get that "Total" back onto a table, but I believe that would
creates a circular calculation error. If that can be done somehow, please let
me know.
When I run a report, sorting for a particular date, I get all the invoices
for that date along with the individual charges. The problem arrises when I
try to total the Labor, it shows, and adds a labor charge for that Invoice
next to every part. When I do a SUM for the total labor charges for 3
invoices, I don't get the sum of the labor charges for the three invoices, I
get a total labor charge for labor times the number of parts I sold. If I
sold 20 items on the three invoices I get the sum of sixty labor charges.
It's easy to hide the duplicate values but it still adds them. Even if I
format and sort the data differently, I can get the Labor to show up only
once per invoice, but when I do the SUM it will still add it up for every
item sold.
The report is made up of the "tblInvoiceDetails" and "qryproducts". I need
the extra qry because the parts that are entered on the invoice is on a
subform that calculates the cost of the item times quanity.
All I want is to have a report that shows me the total for all invoices that
day.
I hope I've explained this simply enough, if not I will try again.
It's probally something simple but after two days I need help. I'm running a
report for and invoice. Because of the difference in what is taxed and what
is not taxed I have calculated expressions on the invoice form to give me a
total. (I will have one item for "Labor" which is not taxed and possibly
several "Parts" that are taxed). Due to the calculations the invoice total is
not returned back to the table "tblInvoiceDetails". It would be even better
if I could get that "Total" back onto a table, but I believe that would
creates a circular calculation error. If that can be done somehow, please let
me know.
When I run a report, sorting for a particular date, I get all the invoices
for that date along with the individual charges. The problem arrises when I
try to total the Labor, it shows, and adds a labor charge for that Invoice
next to every part. When I do a SUM for the total labor charges for 3
invoices, I don't get the sum of the labor charges for the three invoices, I
get a total labor charge for labor times the number of parts I sold. If I
sold 20 items on the three invoices I get the sum of sixty labor charges.
It's easy to hide the duplicate values but it still adds them. Even if I
format and sort the data differently, I can get the Labor to show up only
once per invoice, but when I do the SUM it will still add it up for every
item sold.
The report is made up of the "tblInvoiceDetails" and "qryproducts". I need
the extra qry because the parts that are entered on the invoice is on a
subform that calculates the cost of the item times quanity.
All I want is to have a report that shows me the total for all invoices that
day.
I hope I've explained this simply enough, if not I will try again.