Real Wally
Registered User.
- Local time
- Today, 10:14
- Joined
- Jan 28, 2003
- Messages
- 107
Dear All,
Going through my records on a form using the forward button I get an error message when go to the new record.
The message indicates there's an operator missing in the expression: "PublicationID="
This expression is there to show or not show a label depending on a value and works fine otherwise.
After I get the error message I just click "end", the message disappears and I'm allowed to continue adding records.
Does anybody know what's wrong here?
The full piece of code for this label is:
If Nz(DCount("PublicationID", "tblPatent_DBs", "PublicationID=" & Me!PublicationID)) > 0 Then
Label85.Visible = False
Else
Label85.Visible = True
End If
Thanks for time,
Wally
Going through my records on a form using the forward button I get an error message when go to the new record.
The message indicates there's an operator missing in the expression: "PublicationID="
This expression is there to show or not show a label depending on a value and works fine otherwise.
After I get the error message I just click "end", the message disappears and I'm allowed to continue adding records.
Does anybody know what's wrong here?
The full piece of code for this label is:
If Nz(DCount("PublicationID", "tblPatent_DBs", "PublicationID=" & Me!PublicationID)) > 0 Then
Label85.Visible = False
Else
Label85.Visible = True
End If
Thanks for time,
Wally