P
Peter
Hi all and thanks for all help, i have this issue:
I have created a command button with the help of the command button wizard.
The purpose is to open a form and find a specific record related to the
textfield in the form i placed the commadn button: Case ID <> Case ID. The
form that resides the record is a single form. When i populate the textfiled
and press the button, the form opens with the correct record but if i press
the command button and the textfield is empty i receive the following error
message:
Syntax error (missing operator) in query expression "[Case ID]= "
this is the code:
stLinkCriteria = "[Case ID]=" & Me![Case ID]
What am i doing wrong??????
I have created a command button with the help of the command button wizard.
The purpose is to open a form and find a specific record related to the
textfield in the form i placed the commadn button: Case ID <> Case ID. The
form that resides the record is a single form. When i populate the textfiled
and press the button, the form opens with the correct record but if i press
the command button and the textfield is empty i receive the following error
message:
Syntax error (missing operator) in query expression "[Case ID]= "
this is the code:
stLinkCriteria = "[Case ID]=" & Me![Case ID]
What am i doing wrong??????