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
Difficulty uploading items larger than 1 MB
Simple Automation with Infopath 2003 and SPS 3.0 - Calculate Directory / Filename to save as
Windows 7 Software Restriction Policy not working.
MFC7 CDHtmlDialog: How to cancel a navigation in OnBeforeNavigate
Can not connect to a sql 2005 server HELP
C# MySQL Example
StringBuilder overflowed by unmanaged code
Reading an Outlook inbox
Add tables to code with Inner Select
Delete a subkey