Hi,
I have a Docmd.OpenReport with Where clause
Docmd.OpenReport "myReport",acViewPreview,,"[ID] = '" & me![txtID] & "'"
If it couldn't find the ID entered in the table, I want to have a msgbox for that. Could you please help me the syntax to do it ? Thanks.
I have a Docmd.OpenReport with Where clause
Docmd.OpenReport "myReport",acViewPreview,,"[ID] = '" & me![txtID] & "'"
If it couldn't find the ID entered in the table, I want to have a msgbox for that. Could you please help me the syntax to do it ? Thanks.