C
capinvest
I am trying to set up a button that will look at the
current client record, find the clients ID number and then
print a client specific report. I have the following code
behind the button:
DoCmd.OpenReport "Situation", acViewPreview, , "[main].
[ID] = " & Me![ID]
I get the following error when I try to use the button:
Extra ) in query expression '([main].[ID] = )'.
Any help with this problem will be very appreciated.
Thanks.
current client record, find the clients ID number and then
print a client specific report. I have the following code
behind the button:
DoCmd.OpenReport "Situation", acViewPreview, , "[main].
[ID] = " & Me![ID]
I get the following error when I try to use the button:
Extra ) in query expression '([main].[ID] = )'.
Any help with this problem will be very appreciated.
Thanks.