If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using a comma as criteria in a query
I have a table which includes an field that sometimes has multiple
email addresses separated by a comma. I need to select these from the database and expected to use the comma as a criteria. An error message has advised to include the text in quotes but that did not work either. I expected to use *,*, I have changed to *","* which also fails. How is it possible? Many thanks, Robin Chapple |
#2
|
|||
|
|||
This should work:
Like "*,*" -- Ken Snell MS ACCESS MVP "Robin Chapple" wrote in message ... I have a table which includes an field that sometimes has multiple email addresses separated by a comma. I need to select these from the database and expected to use the comma as a criteria. An error message has advised to include the text in quotes but that did not work either. I expected to use *,*, I have changed to *","* which also fails. How is it possible? Many thanks, Robin Chapple |
#3
|
|||
|
|||
Ken, 100% correct. many thanks, Robin On Thu, 6 Jan 2005 20:53:00 -0500, "Ken Snell [MVP]" wrote: This should work: Like "*,*" |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Complex query criteria - desperate appeal | Ted Allen | Running & Setting Up Queries | 5 | November 17th, 2004 06:14 PM |
Query criteria conflict | dunnotar02 | Running & Setting Up Queries | 6 | November 9th, 2004 07:04 PM |
Too Few Parameters error Mail Merge Access Parameter Query | Tony_VBACoder | Mailmerge | 3 | September 14th, 2004 12:15 PM |
Taher | Setting Up & Running Reports | 1 | August 31st, 2004 09:07 PM |