Wild Card

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the user use a form to set the criteria for a like query. I would like
to let the user leave a field blank. How would I put in the wild card. Here
is the code I use now.

[Forms]![Qtr Loss LookUp FM]![Loss FY]

I did add & "*" to the end and it did not work.
 
You're very close. It should be:

Like [Forms]![Qtr Loss LookUp FM]![Loss FY] & "*"


HTH,
Nikos
 
Thanks

I should have got that!!

Nikos Yannacopoulos said:
You're very close. It should be:

Like [Forms]![Qtr Loss LookUp FM]![Loss FY] & "*"


HTH,
Nikos
I have the user use a form to set the criteria for a like query. I would like
to let the user leave a field blank. How would I put in the wild card. Here
is the code I use now.

[Forms]![Qtr Loss LookUp FM]![Loss FY]

I did add & "*" to the end and it did not work.
 
Back
Top