G
Guest
I have a form "Invoice" that contains 2 subforms "Payment Details" (keeps a
record of how people are paying - it has a "PaymentType" & "PaymentAmount") &
"Sales Details" (keeps a record of what people are buying). I want to lock
the "Sales Details" when "Payment Details" have been selected and entered -
so that sales personnel cannot go back and edit or delete the sale. I have
tried:
In the after_update of the PaymentAmount:
If PaymentAmount > 0 Then
Forms!SalesDetails.Locked = True
But that did not seem to work - it says it can't find the form. I tried
replacing it with me, form, etc. but it does not seem to work - any Advise?
record of how people are paying - it has a "PaymentType" & "PaymentAmount") &
"Sales Details" (keeps a record of what people are buying). I want to lock
the "Sales Details" when "Payment Details" have been selected and entered -
so that sales personnel cannot go back and edit or delete the sale. I have
tried:
In the after_update of the PaymentAmount:
If PaymentAmount > 0 Then
Forms!SalesDetails.Locked = True
But that did not seem to work - it says it can't find the form. I tried
replacing it with me, form, etc. but it does not seem to work - any Advise?