display record if any field contains a certain value

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

Guest

basically i have a table consisting of records that contain a date, location,
contract #, and a few more fields containing initials (initials could appear
more than once).

I just want a query that will display all the records in which a certain set
of initials are ANYWHERE in that particular record. for example purposes ill
use the initals "JLG". this is what i want to do.

for (i=0; i < # of Records ; i++)
if (any field in Record = "JLG")
Display this record in the query

does this make any sense?
thanks!
 
i actually answered my own question this is what i needed:


SELECT [Start Up].*
FROM [Start Up]
WHERE ((([Start Up].[Pre-Ship Setup])="JLG") OR (([Start Up].[Pre-Ship Setup
2])="JLG") OR (([Start Up].[Plant Install])="JLG") ........);
 

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