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
Update Code through VBA
How do I update a subform combobox from another form that the subform called?
SSIS error code DTS_E_CannotAcquireConnect<wbr />ionfromCon<wbr />nectionMan<wbr />ager
Edot form data
Problem with Backup Configuration Wizard in SBS 2003 - "An unexpected error occurred (80070057). The parameter is incorrect"
Setting TextBlock Text Property dynamically
copy selected macros to a brand new workbook
FormsAuthentication.Redire<wbr />ctFromLogi<wbr />nPage question
Repeat Header columns on each and every page of the Report
Interop COM and WCF