Jump to content
Server Maintenance This Week. ×

Finding the same data in two different tables.


This topic is 6995 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi Mattg-zzz,

You haven't indicated whether these tables are currently related on ClientID. If not, you can relate them on phone number? Client:Number = Phone:Number. You may wish to use Filter on both sides to produce an exact match if the phone numbers aren't normalized.

Then create a calculation (number) with:

IsEmpty(Phone::Number)

Script to Find uncalled Clients:

Perform Find [Restore ... enter a 1 in your specify find box ]

If the tables are currently related on ClientID, just use IsEmpty(Phone::ClientID)

LaRetta wink.gif

Link to comment
Share on other sites

If they both contain the ClientID, that would be best to use; saves creating additional fields. But you can relate on phone number. You would create your Number keys as:

Phone Number = Filter(Number; "0123456789")

Then relate on that. This strips any '-' or "()", etc. which might differ between the two sets.

Then just Perform Find on the above calculation, storing a 1 in the Find Request.

Link to comment
Share on other sites

This topic is 6995 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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