Jump to content
Sign in to follow this  
jbowley

What I would like to do is be able to create a field that would compare 2 database that have a "phone" field relationship. What I am tryomg to do is compare just the area code & prefix between t

Recommended Posts

What I would like to do is be able to create a field that would compare 2 database that have a "phone" field relationship.

What I am tryomg to do is compare just the area code & prefix between the 2.

I can get it to match exact matches but not just the first 7 characters.

Example if on database has 222-333-4000

& one I am comparing has 222-333-4100 and 222-333-4200

that it would tagg both of these just from the first 7 characters 222-333.

I tried

If ( Left(Phone;7) = Left(TBN_ADM_IC_231::Phone;7) ; " -DJM- " ; "")

but i still only get hits on exact matches not partial.

Also tried PatternCount (Left(TBN_ADM_IC_231::Phone;7) ; Left(Phone;7)) same results.

Help!!

Edited by Guest

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.