Query for text within a large text field

G

Guest

I just need a simple way to lookup records for a report based on a keyword
within a large text field used to describe events that took place.

The "Like" criteria will not work since the word I would be keying on will
not be the first word in the field.

If possible I would like a way to accomplish this from the QBE since I am
SQL illiterate.

Thank you.
 
M

Marshall Barton

Dan said:
I just need a simple way to lookup records for a report based on a keyword
within a large text field used to describe events that took place.

The "Like" criteria will not work since the word I would be keying on will
not be the first word in the field.


The Like operator will do this. You just need to use the
wildcard characters appropriately.

In this case, you want something like this criteria:

Like "*Cancel*"
 
P

P Talbot

Another possibility would be: Like "*" & [Enter a keyword] & "*"
Copied and pasted into the criteria for your text field, this would
generate a prompt for a keyword.
 

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