Mattg-zzz Posted March 1, 2005 Posted March 1, 2005 One table has all my clients and the another table has all the calls I have made. I would like to preform a find that would show me all the clients that I have not called yet.
LaRetta Posted March 1, 2005 Posted March 1, 2005 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
Mattg-zzz Posted March 1, 2005 Author Posted March 1, 2005 LaRetta, They are related by a CustId field. Can I still do a Customer:Number=Phone:Number & what type of fliter are you thinking of? thanks
LaRetta Posted March 1, 2005 Posted March 1, 2005 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.
Mattg-zzz Posted March 1, 2005 Author Posted March 1, 2005 Great, thank you. It was much easier then I thought.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now