C
cutepaloma405 via AccessMonster.com
I have two forms: frmStudent and frmCourse. What I want to do is link
frmStudent and frmCourse through the EmployeeID control to get a filter of
each student's courses. Problem: EmployeeID is a string. What I am doing
wrong with the below cited?
stLinkCriteria = "[EmployeeID] = " & Me![EmployeeID]
DoCmd.OpenForm stDocName, , , , acNormal, , stLinkCriteria
DoCmd.ApplyFilter , "EmployeeID="", & EmployeeID & """
frmStudent and frmCourse through the EmployeeID control to get a filter of
each student's courses. Problem: EmployeeID is a string. What I am doing
wrong with the below cited?
stLinkCriteria = "[EmployeeID] = " & Me![EmployeeID]
DoCmd.OpenForm stDocName, , , , acNormal, , stLinkCriteria
DoCmd.ApplyFilter , "EmployeeID="", & EmployeeID & """