Referencing a subform

  • Thread starter Thread starter tonybutterworth
  • Start date Start date
T

tonybutterworth

Guest
I need to reference a subform from it's main form to change the AllowAdditions property. I can't seem to get it right. I've tried Forms!MainForm!SubForm.AllowAdditions=True... I keep getting a message box saying that the subform does not exist.
Am I missing something vital in my understanding ?
Thanks in advance
 
Try this. It works for me

Me.subMyForm.Form.Controls("txtMyTextBox").Value

e_kimball@yahoo.com
 

Users who are viewing this thread

Back
Top Bottom