Microsoft
Software
Hardware
Network
Question : How to reference a control on a tab page that is not currently displayed
This line,
Debug.Print Me![NBInceptionDate]
gives this error:
"The expression you entered has a field, control, or property name that Database can't find"
So I tried to specify the tab page that the control is on,
Debug.Print Forms!fm_NewBusiness.TabCt
l4.Pages(2
)![NBIncep
tionDate]
giving this error:
"Object does not support this property or method"
What's the secret to referencing a control on the current form, but on a tab page that is not currently displayed?
Answer : How to reference a control on a tab page that is not currently displayed
referencing a control in a tab control is straight forward
me.NameofControl
unless the control is in a subform, the you have to use
me.subformName.form.contro
lName
Random Solutions
Color handling of a CEdit !
linq query handling null datetime
RGB Control
Reference Problem - Name conflicts with existing project, module or object library
Different SQL datetime fomats between machines cases problems when searching using c#
Getting gridview column value in button click
Play flv file in VB.NET Form
Migrate Exchange mailboxes to EBS2008
Dropdown list with Category & subcategories out of the same table
reading autocad files