PC Review


Reply
Thread Tools Rate Thread

query question

 
 
Lauren B
Guest
Posts: n/a
 
      16th Feb 2005
How can I write a query to return entries that have a name present in any of
5 fields? The name is inputted through a combo box drop down menu and may
be present in either FIELD1, FIELD2, FIELD3, FIELD4, or FIELD5. The name
does not have to present in all fields, I just need my query to return
responses if the name selected is in any of 5 fields.

Thank you in advance for any assistance.

LB


 
Reply With Quote
 
 
 
 
Rick B
Guest
Posts: n/a
 
      16th Feb 2005
Just place your criteria under each of the fields mentioned, but put it on a
separate row in the criteria section. Placing criteria on separate rows
creates "OR" searches. Placing criteria all on onw row creates "AND"
searches.


Field1 Field2 Field3 Filed4 Field5
="smith"
="smith"
="smith"
="smith"
="smith"



"Lauren B" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How can I write a query to return entries that have a name present in any

of
> 5 fields? The name is inputted through a combo box drop down menu and may
> be present in either FIELD1, FIELD2, FIELD3, FIELD4, or FIELD5. The name
> does not have to present in all fields, I just need my query to return
> responses if the name selected is in any of 5 fields.
>
> Thank you in advance for any assistance.
>
> LB
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access metadata repository generation query, matrix generationquery, table-generation query, array-generation query. Roy Roebuck Microsoft Access Database Table Design 1 20th Dec 2008 08:23 PM
i have two query q1, q2.both query use sub query.can i join both =?Utf-8?B?bmlraGls?= Microsoft Access Queries 1 7th Aug 2007 06:44 AM
Set sub (embedded?) query parameters using VBA, call sub query in primary query with parameters completed Kelii Microsoft Access 4 5th Feb 2007 04:01 AM
verfiy a query like Query Analyzer's parse query function =?Utf-8?B?a2V2aW4=?= Microsoft C# .NET 1 24th Dec 2005 02:33 AM
Query question. How do I write a query to do this? Mark Microsoft Access Queries 2 11th Aug 2004 10:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:01 AM.