A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using a comma as criteria in a query



 
 
Thread Tools Display Modes
  #1  
Old January 7th, 2005, 12:46 AM
Robin Chapple
external usenet poster
 
Posts: n/a
Default 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  
Old January 7th, 2005, 01:53 AM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

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  
Old January 7th, 2005, 02:01 AM
Robin Chapple
external usenet poster
 
Posts: n/a
Default


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

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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
Print Taher Setting Up & Running Reports 1 August 31st, 2004 09:07 PM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.