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

Limiting A Query by Using a text format



 
 
Thread Tools Display Modes
  #1  
Old July 8th, 2008, 12:48 AM posted to microsoft.public.access.queries
Brad[_6_]
external usenet poster
 
Posts: 8
Default Limiting A Query by Using a text format

All,

I have a License_Text_ ID field with several different types of license
formats.

I would like to limit a query to only returning IDs with a format of
"LL#######". Where L=Letter and #=Number. I need the query to only return
those IDs with this exact format.

What can I put in the query Criteria field to accomplish this?

Thanks in advance for your assistance.

Brad


  #2  
Old July 8th, 2008, 01:49 AM posted to microsoft.public.access.queries
Rob Parker
external usenet poster
 
Posts: 701
Default Limiting A Query by Using a text format

Like "[a-z][a-z]#######"

Rob

"Brad" wrote in message
...
All,

I have a License_Text_ ID field with several different types of license
formats.

I would like to limit a query to only returning IDs with a format of
"LL#######". Where L=Letter and #=Number. I need the query to only return
those IDs with this exact format.

What can I put in the query Criteria field to accomplish this?

Thanks in advance for your assistance.

Brad


  #3  
Old July 8th, 2008, 03:16 AM posted to microsoft.public.access.queries
Brad[_6_]
external usenet poster
 
Posts: 8
Default Limiting A Query by Using a text format

Rob,

Works perfect!

Thank you for your help.

Brad

"Rob Parker" wrote in message
...
Like "[a-z][a-z]#######"

Rob

"Brad" wrote in message
...
All,

I have a License_Text_ ID field with several different types of license
formats.

I would like to limit a query to only returning IDs with a format of
"LL#######". Where L=Letter and #=Number. I need the query to only return
those IDs with this exact format.

What can I put in the query Criteria field to accomplish this?

Thanks in advance for your assistance.

Brad





 




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 08:37 PM.


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