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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Criteria for an email address field



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2010, 08:03 PM posted to microsoft.public.access.reports
Chi
external usenet poster
 
Posts: 299
Default Criteria for an email address field

Hi,

I would like to make a query that give me a list of the emails address with
number in it?

I tried to use wildcard characters in the query design view, but it always
gives me a blank record.
Ex: I would like pull out the emails like below:






Thanks
Chi
  #2  
Old May 6th, 2010, 08:20 PM posted to microsoft.public.access.reports
John Spencer
external usenet poster
 
Posts: 7,815
Default Criteria for an email address field

Using criteria
Like "*[0-9]*"
against the email field should return all that contain 1 or more number
characters.

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Chi wrote:
Hi,

I would like to make a query that give me a list of the emails address with
number in it?

I tried to use wildcard characters in the query design view, but it always
gives me a blank record.
Ex: I would like pull out the emails like below:






Thanks
Chi

  #3  
Old May 6th, 2010, 09:01 PM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Criteria for an email address field

If it is a text field try this --
Like "*[0-9]*"

--
Build a little, test a little.


"Chi" wrote:

Hi,

I would like to make a query that give me a list of the emails address with
number in it?

I tried to use wildcard characters in the query design view, but it always
gives me a blank record.
Ex: I would like pull out the emails like below:






Thanks
Chi

  #4  
Old May 6th, 2010, 09:21 PM posted to microsoft.public.access.reports
Chi
external usenet poster
 
Posts: 299
Default Criteria for an email address field

Hi John and Karl,

Thank you very much! It works great!!

"John Spencer" wrote:

Using criteria
Like "*[0-9]*"
against the email field should return all that contain 1 or more number
characters.

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Chi wrote:
Hi,

I would like to make a query that give me a list of the emails address with
number in it?

I tried to use wildcard characters in the query design view, but it always
gives me a blank record.
Ex: I would like pull out the emails like below:






Thanks
Chi

.

 




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


All times are GMT +1. The time now is 11:52 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.