query syntax

B

brian

Hello. I am using a button on a form to launch a query
that includes data from a text box on the form itself.
What I need to do is prepend a wildcard so that the query
includes it in the search.

What else do I need in the criteria box?

Like Forms![frm1]![txt1]

Thanks!
 
B

brian

That did it. Thanks!
-----Original Message-----
Try;

Like '*' & Forms![frm1]![txt1] & '*'

Steve.

-----Original Message-----
Hello. I am using a button on a form to launch a query
that includes data from a text box on the form itself.
What I need to do is prepend a wildcard so that the query
includes it in the search.

What else do I need in the criteria box?

Like Forms![frm1]![txt1]

Thanks!
.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top