In addition to a standard invoice_detail child, I have a tax child linked to my invoice parent table in a 1:N relationship. My form is comprised of fields from the parent making up the header and two browses. The first browse is the invoice_detail table which holds the individual purchased items and the second browse holds rows of sales tax rates and treatments that are used by expressions to calculate total tax. For example in the province of Quebec there are two sales tax rates one Federal and one provincial. These taxes occupy two rows. Field1 names the tax,field2 contains the rate, field3 holds the result of the total purchases times each rate. The sum of field3 is the total tax.
The law requires that each tax be clearly displayed on the invoice and this is neatly done on a form with a browse that I stick on the bottom of the form next to the totals.
But has anyone figured out how to do this on a report?
Bookmarks