Hi,
I have an invoice form, where the data source for the invoice is:
MAIN FORM tblInvoice (InvoiceID, CustomerID,Date)
tblCustomer (Membership_Level)
Sub-FORM tblInvoice_Details (InvoiceID, StockID, Qty_Ordered)
If you look at the attached image, you will see taht i've created an Unbound Textbox (text34) in which i would like to show the discount rate as follows:
Bronze Member - 15%
Silver Member - 20%
Gold Member - 25%
The membership type is already present (as you can see in the textbox below text34).
THe issue is this: If a customer is selected in the main form, i would like text34 to be populated with the value 0.15... so then i can use it in the Invoice Total caclculation for applying discount.
I've tried the following under different events to try and get the value to appear, but it doesn't work.
[CODE][If Me.txtMember_.Value = "Bronze" Then Me.Text34.Value = 0.15/CODE]
I've tried BeforeUpdate and AfterUpdate....but i get no value appearing in text34.