dbTalk Databases Forums  

Search for phone numbers

comp.databases.filemaker comp.databases.filemaker


Discuss Search for phone numbers in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Renfer
 
Posts: n/a

Default Search for phone numbers - 07-21-2005 , 02:24 PM






I have a database with a telephone field. I have to export those
numbers and get the "scrubbed" by a do not call service and the
numbers will come back in txt format.

How do I check these numbers against my current database?

Basically I have to identify a given set of phone numbers in my
database that matches the txt file I'll have.

Any ideas?

P.S., I'm rookie at FMpro 7 with some minor scripting knowledge. Any
ideas would be appreciated.

Thanks,

Alfred

Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: Search for phone numbers - 07-21-2005 , 05:39 PM






Renfer wrote:

Quote:
I have a database with a telephone field. I have to export those
numbers and get the "scrubbed" by a do not call service and the
numbers will come back in txt format.

How do I check these numbers against my current database?

Basically I have to identify a given set of phone numbers in my
database that matches the txt file I'll have.

Any ideas?

P.S., I'm rookie at FMpro 7 with some minor scripting knowledge. Any
ideas would be appreciated.

Thanks,

Alfred

FM won't operate on the text file. You need to have it in FM beofre
anything happens.

Create a DontCall table with one field (Phone). Import the text file into
it.

Create a relationship between the phone number fields in DontCall and
Existing.

In your Existing table, create a calculation field to tell you if the
there is, in fact, a relationship match, such as

Flag = [ If ( Existing::Phone = DontCall::Phone ; 1 ; 0 ) ]

Find and delete all of the entries in which Flag = 1.

Matt


Reply With Quote
  #3  
Old   
Renfer
 
Posts: n/a

Default Re: Search for phone numbers - 07-21-2005 , 07:40 PM



Thank you Matt,

I'll do exactly this.

Much obliged...

Alfred

On Thu, 21 Jul 2005 22:39:05 GMT, "Matt Wills" <I'm (AT) Witz (DOT) end> wrote:

Quote:
FM won't operate on the text file. You need to have it in FM beofre
anything happens.

Create a DontCall table with one field (Phone). Import the text file into
it.

Create a relationship between the phone number fields in DontCall and
Existing.

In your Existing table, create a calculation field to tell you if the
there is, in fact, a relationship match, such as

Flag = [ If ( Existing::Phone = DontCall::Phone ; 1 ; 0 ) ]

Find and delete all of the entries in which Flag = 1.

Matt


Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.