C
Chris
I would like the value of the ClientID in my subform (on Page1) of the tab
to = the ClientID of the client selected in my main form.
Scenario.
User Goes to main form
Selects Client
Clicks button to take user to a new form (Containing tabs)
Tab opens with subform of the clients details.
Code that I'm trying to use is this
DoCmd.OpenForm stDocName, , , stLinkCriteria
stLinkCriteria = "[ClientID]=" & Me![MainFormName].Form![ClientID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
The error message I receive is "DB can't find the field "MainFormName"
refered to in your expression"
I posted a similar message on Friday which more clearly covers what am
attempting.
Please help me!
to = the ClientID of the client selected in my main form.
Scenario.
User Goes to main form
Selects Client
Clicks button to take user to a new form (Containing tabs)
Tab opens with subform of the clients details.
Code that I'm trying to use is this
DoCmd.OpenForm stDocName, , , stLinkCriteria
stLinkCriteria = "[ClientID]=" & Me![MainFormName].Form![ClientID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
The error message I receive is "DB can't find the field "MainFormName"
refered to in your expression"
I posted a similar message on Friday which more clearly covers what am
attempting.
Please help me!