Subform on TabControl

kadara

Registered User.
Local time
Tomorrow, 00:29
Joined
Jun 19, 2010
Messages
43
Hi,

On a main form I put a TabControl with 5 pages. On each pages I put a subform. How could I refer to each subform's control (textbox, listbox etc)?
Thanks
 
The tabs are all the same form so the subform controls are referenced directly from the main form.

Use the standard reference to controls on a subform:

Forms!mainform!subformcontrol.Form.controlname
or (from the main form's module)
Me!subformcontrol.Form.controlname
 
Thanks. Works well.
 

Users who are viewing this thread

Back
Top Bottom