Please help me with this query!
I've got a table "orderitems" that allows people to enter unit prices, # of units, and then select a tax code from a combo box. The combo box gets values from a tax table which has three fields: tax_code, tax_desc, and tax_rate. Taxes available are NONE, GST, PST, GST&PST.
When I calculate an order's total (for the purpose of creating an invoice), I need to know the value of the PST and the value of the GST separately. I can't figure out how to do it. Any suggestions? Maybe my design is poor.
I can easily write a query that calculates the total tax, but I can't figure out how to get Access to give me one column for PST and one column for GST.
Thanks!
I've got a table "orderitems" that allows people to enter unit prices, # of units, and then select a tax code from a combo box. The combo box gets values from a tax table which has three fields: tax_code, tax_desc, and tax_rate. Taxes available are NONE, GST, PST, GST&PST.
When I calculate an order's total (for the purpose of creating an invoice), I need to know the value of the PST and the value of the GST separately. I can't figure out how to do it. Any suggestions? Maybe my design is poor.
I can easily write a query that calculates the total tax, but I can't figure out how to get Access to give me one column for PST and one column for GST.
Thanks!
