Filter records that include certain text strings

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

Guest

I want to create customized reports where a user can enter text strings, then
the program will search for all records that contain that text string and
display them. The filter functions are exclusive.
 
I want to create customized reports where a user can enter text strings, then
the program will search for all records that contain that text string and
display them. The filter functions are exclusive.

In the same field?

Just pass a filter in the open event of the report, and create a valid
WHERE statement without the "Where" on the front...
 
I want to create customized reports where a user can enter text strings, then
the program will search for all records that contain that text string and
display them. The filter functions are exclusive.

Base the Report on a query referencing a textbox on the form:

LIKE "*" & [Forms]![NameOfForm]![NameOfTextbox] & "*"

and launch the report from a command button on the form.

John W. Vinson [MVP]
 

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

Back
Top