Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query across multiple field for same instance.

Status
Not open for further replies.

Taki186

IS-IT--Management
Sep 11, 2002
11
0
0
GB
I'm currently building a database to log computer hardware and software info.

I need to be able to design a query that will look across 10 different software fieleds, for, let say the word "Photoshop",
but I'm struggerling to understand the correct expression to use and where to use it.

I've been trying to get this working for 3 days now, I'm new to Access 2002 and I'm sure this is easily acheived. Any help
would be greatfully recieved. In the meantime, I'm gonna keep on battling on.

Thanks in advance.

Confused from London.
 
Try this....

select
*
from
TableName
where
Field1="Photoshop" or
Field2="Photoshop" or
Field3="Photoshop" or
Field4="Photoshop" or
Field5="Photoshop" or
Field6="Photoshop" or
Field7="Photoshop" or
Field8="Photoshop" or
Field9="Photoshop" or
Field10="Photoshop"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top