C
Chris
Question
How do you link information to a subform when the subform is on a tab.
Scenario
from the main form I can select a client from a cbo box. I then go to
different forms and with the clientID I can update the clients info. I can
get the clientID linked with the form but I cannot link to the form when it
is in a sub form.
'frmNewMort1 is the tab form
'frmNewMort is the First page in the tab.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmNewMort1"
DoCmd.OpenForm stDocName, , , stLinkCriteria
stLinkCriteria = "[ClientID]=" & Me![ClientID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
How do you link information to a subform when the subform is on a tab.
Scenario
from the main form I can select a client from a cbo box. I then go to
different forms and with the clientID I can update the clients info. I can
get the clientID linked with the form but I cannot link to the form when it
is in a sub form.
'frmNewMort1 is the tab form
'frmNewMort is the First page in the tab.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmNewMort1"
DoCmd.OpenForm stDocName, , , stLinkCriteria
stLinkCriteria = "[ClientID]=" & Me![ClientID]
DoCmd.OpenForm stDocName, , , stLinkCriteria