I'm trying to pass a string to print the current record on an access form, keep getting a syntax error, just cant work it out.
Dim strWhere As String
strWhere = "Contact ID=" & Me.ContactID
I think there should be single quotes around the Me.ContactID value but cant get them right! any help appreciated.
Thanks
Dim strWhere As String
strWhere = "Contact ID=" & Me.ContactID
I think there should be single quotes around the Me.ContactID value but cant get them right! any help appreciated.
Thanks