Code to access 1 specific field value on a Form Tab

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form with a 3 part tab
The form is called main
The Tabs are called TabTest
One tab is called TestPage1
One field on info is called CtlTest

How do I reference CtlTest with code?
I tried Forms!Main!TabTest!Pages!TestPage1!CtlTest = "xxx"
Does not work, can someone please assist
Thanks in advance :)
 
Ken said:
I have a form with a 3 part tab
The form is called main
The Tabs are called TabTest
One tab is called TestPage1
One field on info is called CtlTest

How do I reference CtlTest with code?
I tried Forms!Main!TabTest!Pages!TestPage1!CtlTest = "xxx"
Does not work, can someone please assist
Thanks in advance :)

TabControls do not affect control references. Just use the same reference
you would use if there were no TabControl.
 
Back
Top