I have been fighting with this code the whole day- help, please?
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmTabSurvey"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.ApplyFilter , "Text59 = 'Tables!StoreSurveyNumber!StoreSurveyNumber'"
I want to open the form to the form number stored in the unopened table. Both fields are long integer.
This latest attempt is asking for the paramater value...
Thanks,
Dave
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmTabSurvey"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.ApplyFilter , "Text59 = 'Tables!StoreSurveyNumber!StoreSurveyNumber'"
I want to open the form to the form number stored in the unopened table. Both fields are long integer.
This latest attempt is asking for the paramater value...
Thanks,
Dave