General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Access 2000 Sub Forms
Sometimes I want to put check the "NO PAY" box on the Main Form. I wanted the Subform Payment field to be disabled.
In the Main form I checked the "NO PAY" box for 2 Names so that "NO PAY" = -1.
IN the payment field on the subform I put the following code and it does NOT work. Cannot find the Form Name.
In the On Current event of the subform:
If ([forms]![Parent Form]![NO PAY] = -1) then
me.payment.enabled = false
end if
Obviously I am addressing the Main Form with the incorrect format. Can anyone out there help me???
Thanks!
Alan
New York City