J
JHC
Form_1 contains cbo_Application_Acronym and a subform containing
DataElement_Name. Form_2 is 'keyed' by Application_Acronym and
DataElement_Name.
From the subform, I want to link to Form_2 using both fields. Here is the
code for stLinkCriteria:
stLinkCriteria = "[DataElement_Name]=""" & Me![DataElement_Name] & _
""" And [Application_Acronym] = "" &
Me.Parent.Form![cbo_Application_Acronym] & """
The syntax for this string absolutely baffles me. I ran the debugger.
Me![DataElement_Name] has the right value and
Me.Parent.Form![cbo_Application_Acronym] has the right value.
But Access prompts for input of Application_Acronym.
Help!!! Please.
DataElement_Name. Form_2 is 'keyed' by Application_Acronym and
DataElement_Name.
From the subform, I want to link to Form_2 using both fields. Here is the
code for stLinkCriteria:
stLinkCriteria = "[DataElement_Name]=""" & Me![DataElement_Name] & _
""" And [Application_Acronym] = "" &
Me.Parent.Form![cbo_Application_Acronym] & """
The syntax for this string absolutely baffles me. I ran the debugger.
Me![DataElement_Name] has the right value and
Me.Parent.Form![cbo_Application_Acronym] has the right value.
But Access prompts for input of Application_Acronym.
Help!!! Please.