controlling a subform from a main form access 2002

  • Thread starter Thread starter mrsafe
  • Start date Start date
M

mrsafe

Guest
hi beginer so please excuse the ignorance . Im trying to change the state of a box in a subform by using an event proceedure command56 in the main form i presumed the code would be something like
command56 on_click bla bla
subformName.textboxName.locked=false but i cant crack it. can this actually be done ? if so ,can someone tell me how.
 
Try Referencing your main form as well:

Code:
Forms!yourmainformname!yoursubformname!yourfieldname

Hope this helps

Andy
 

Users who are viewing this thread

Back
Top Bottom