Hi Guys,
I wrote up this code and it's working perfectly on another database but when I use it for this new database, I get a blank form.
Dim stDocName As String
Dim strCrit As String
stDocName = "SERP Plan Report"
strCrit = "[Employee Data] = '" & Me.Text16 & "'"
DoCmd.OpenReport stDocName, acViewPreview, , strCrit
I wrote up this code and it's working perfectly on another database but when I use it for this new database, I get a blank form.
Dim stDocName As String
Dim strCrit As String
stDocName = "SERP Plan Report"
strCrit = "[Employee Data] = '" & Me.Text16 & "'"
DoCmd.OpenReport stDocName, acViewPreview, , strCrit