PC Review


Reply
Thread Tools Rate Thread

matching different lecht numbers

 
 
=?Utf-8?B?Y29uZnVzc2Vk?=
Guest
Posts: n/a
 
      17th Feb 2005
Does anyone have any idea how to match different lenght numbers in a query?
For example:
From one part of my query the number is FH770BSHG
The number on the other part of the query would be FH770BSHG651C78CHJ
Is there away to get the query to read from left to right and stop when it
matches the number by the fist 9 digits?
Thanks
 
Reply With Quote
 
 
 
 
Duane Hookom
Guest
Posts: n/a
 
      17th Feb 2005
If you are always looking for the first 9 then use Left([YourLongerField],
9)
You can also use Like to match one field value contained in another field
value.

--
Duane Hookom
MS Access MVP


"confussed" <(E-Mail Removed)> wrote in message
news:FE2B39B2-3FF5-4841-9179-(E-Mail Removed)...
> Does anyone have any idea how to match different lenght numbers in a
> query?
> For example:
> From one part of my query the number is FH770BSHG
> The number on the other part of the query would be FH770BSHG651C78CHJ
> Is there away to get the query to read from left to right and stop when it
> matches the number by the fist 9 digits?
> Thanks



 
Reply With Quote
 
 
 
 
=?Utf-8?B?Y29uZnVzc2Vk?=
Guest
Posts: n/a
 
      17th Feb 2005
Thanks;
I'll let you know how I make out.

"Duane Hookom" wrote:

> If you are always looking for the first 9 then use Left([YourLongerField],
> 9)
> You can also use Like to match one field value contained in another field
> value.
>
> --
> Duane Hookom
> MS Access MVP
>
>
> "confussed" <(E-Mail Removed)> wrote in message
> news:FE2B39B2-3FF5-4841-9179-(E-Mail Removed)...
> > Does anyone have any idea how to match different lenght numbers in a
> > query?
> > For example:
> > From one part of my query the number is FH770BSHG
> > The number on the other part of the query would be FH770BSHG651C78CHJ
> > Is there away to get the query to read from left to right and stop when it
> > matches the number by the fist 9 digits?
> > Thanks

>
>
>

 
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
Finding matching numbers in different rows. classic3283 Microsoft Excel Worksheet Functions 1 7th Oct 2008 04:26 AM
HELP MATCHING PHONE NUMBERS ON VOTER LIST [combining lists from different sources] ciphersankofa@gmail.com Microsoft Access 4 2nd May 2007 02:05 AM
HELP MATCHING PHONE NUMBERS ON VOTER LIST [combining lists from different sources] ciphersankofa@gmail.com Microsoft Access 1 1st May 2007 06:28 PM
matching like numbers/data points residing in different columns bjourdanwhite@yahoo.com Microsoft Excel Programming 2 15th Aug 2006 11:13 PM
Comparing numbers in cells and highlighting matching numbers =?Utf-8?B?ZGFlZGFsdXMx?= Microsoft Excel Misc 2 16th Nov 2004 10:29 AM


Features
 

Advertising
 

Newsgroups
 


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