I have a database that you input data in on a form and then I can open a report which will show several entries within the database. Within the report off to the side of the entry I have a button with an embedded Macro which when I select it I want it to bring up the original form with all the information on the form.
I have the following error after I select the button:
Runtime Error 3464
Data type mismatch in criteria expression.
When I drill down into the embedded macro this is what I have for the following:
Private Sub Command29_Click()
DoCmd.OpenReport "Report1", acViewReport, , "Citation = '" & Me.Citation & "'"
End Sub
Any thoughts would be appreciated. Thanks in advance
I have the following error after I select the button:
Runtime Error 3464
Data type mismatch in criteria expression.
When I drill down into the embedded macro this is what I have for the following:
Private Sub Command29_Click()
DoCmd.OpenReport "Report1", acViewReport, , "Citation = '" & Me.Citation & "'"
End Sub
Any thoughts would be appreciated. Thanks in advance