Multiple word search Parameter Query

I

Iram

Hello.
I am having trouble creating a parameter query that will allow me to search
a field for mulitple words.
I have a field called "Desciption" and I would like to type Password Reset
in the parameter pop-up and have it pull up all records that have "Password
Reset" somewhere in the Description field.
Currently I have:
=[Enter Task Keyword] & [Enter Task Keyword]

How should I re-write this query?

Your help is greatly appreciated.

Iram/mcp
 
I

Iram

This works awesome and I will use it for many other queries, but it only
finds records where the two words (for example Password Reset) are next to
each other.
How would we re-write it so that I could find records where the
"Description" field had two words that I was searching for and that were not
side by side, for example "access printer" in a field that had "Tony needs
access to the color printer"
Does my question make sense? I some times tend to confuse people...


Iram/mcp

For example

Marco said:
Hi,

Try something in the query like:

Alike "%" & [Enter Task Keyword] &"%"







Iram said:
Hello.
I am having trouble creating a parameter query that will allow me to search
a field for mulitple words.
I have a field called "Desciption" and I would like to type Password Reset
in the parameter pop-up and have it pull up all records that have "Password
Reset" somewhere in the Description field.
Currently I have:
=[Enter Task Keyword] & [Enter Task Keyword]

How should I re-write this query?

Your help is greatly appreciated.

Iram/mcp
 
K

KARL DEWEY

Use two rows in the design view grid for the criteria. This way it will pull
the records regardless of the order.

Like "*" & [first] & "*" & [2nd] & "*"
Like "*" & [2nd] & "*" & [first] & "*"

--
KARL DEWEY
Build a little - Test a little


Iram said:
This works awesome and I will use it for many other queries, but it only
finds records where the two words (for example Password Reset) are next to
each other.
How would we re-write it so that I could find records where the
"Description" field had two words that I was searching for and that were not
side by side, for example "access printer" in a field that had "Tony needs
access to the color printer"
Does my question make sense? I some times tend to confuse people...


Iram/mcp

For example

Marco said:
Hi,

Try something in the query like:

Alike "%" & [Enter Task Keyword] &"%"







Iram said:
Hello.
I am having trouble creating a parameter query that will allow me to search
a field for mulitple words.
I have a field called "Desciption" and I would like to type Password Reset
in the parameter pop-up and have it pull up all records that have "Password
Reset" somewhere in the Description field.
Currently I have:
=[Enter Task Keyword] & [Enter Task Keyword]

How should I re-write this query?

Your help is greatly appreciated.

Iram/mcp
 
I

Iram

It worked!
You guys are awesome!!!


iram/mcp

KARL DEWEY said:
Use two rows in the design view grid for the criteria. This way it will pull
the records regardless of the order.

Like "*" & [first] & "*" & [2nd] & "*"
Like "*" & [2nd] & "*" & [first] & "*"

--
KARL DEWEY
Build a little - Test a little


Iram said:
This works awesome and I will use it for many other queries, but it only
finds records where the two words (for example Password Reset) are next to
each other.
How would we re-write it so that I could find records where the
"Description" field had two words that I was searching for and that were not
side by side, for example "access printer" in a field that had "Tony needs
access to the color printer"
Does my question make sense? I some times tend to confuse people...


Iram/mcp

For example

Marco said:
Hi,

Try something in the query like:

Alike "%" & [Enter Task Keyword] &"%"







:

Hello.
I am having trouble creating a parameter query that will allow me to search
a field for mulitple words.
I have a field called "Desciption" and I would like to type Password Reset
in the parameter pop-up and have it pull up all records that have "Password
Reset" somewhere in the Description field.
Currently I have:
=[Enter Task Keyword] & [Enter Task Keyword]

How should I re-write this query?

Your help is greatly appreciated.

Iram/mcp
 

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