H
hellaby
I'm a bit of a novice at Access, but have created a form and subform to allow
quick entry of Purchase Order details for our company. The purchase order is
for us to track who our suppliers are and to issue purchase order numbers for
suppliers. I have used unbound text boxes for Subtotal, Tax and Total fields
of the purchase order with the following code and everything works fine.
SubTotal =frm_PODetail.Form!txtOrder_Subtotal
Tax=CLng([Subtotal])*[Tax_Rate]*100/100
Total=[Subtotal]+[Tax]
However, my accounts department wants to track the tax figures and The
totals - the very thing I've been told you shouldn't store in a table. With
an unbound text box I can't run a query to supply the tax figures and totals.
I've tried creating an alias field in the underlying query for the form, but
I must be using the wrong expression because nothing shows up in the text
boxes.
Does anyone know how to run the query using unbound text boxes or how to
store tax and total figures so I can run a query?
quick entry of Purchase Order details for our company. The purchase order is
for us to track who our suppliers are and to issue purchase order numbers for
suppliers. I have used unbound text boxes for Subtotal, Tax and Total fields
of the purchase order with the following code and everything works fine.
SubTotal =frm_PODetail.Form!txtOrder_Subtotal
Tax=CLng([Subtotal])*[Tax_Rate]*100/100
Total=[Subtotal]+[Tax]
However, my accounts department wants to track the tax figures and The
totals - the very thing I've been told you shouldn't store in a table. With
an unbound text box I can't run a query to supply the tax figures and totals.
I've tried creating an alias field in the underlying query for the form, but
I must be using the wrong expression because nothing shows up in the text
boxes.
Does anyone know how to run the query using unbound text boxes or how to
store tax and total figures so I can run a query?