cybertaz Posted April 23, 2001 Posted April 23, 2001 I have a script that syncs two databases (a & by just importing and updating the new records. I have two questions. 1. How can I get the script to delete a record in database "A" if it does not exist in database "B". 2 How can I get the script to run every hour to update records. Thanks. j
SteveB Posted April 23, 2001 Posted April 23, 2001 Troi has a plugin called Activator that can run scripts in other files at given times. See his line of plugins at www.Troi.com
Gerd Muller Posted April 24, 2001 Posted April 24, 2001 1. Make a relation from "A" to "B" with a uniqe record id. In "A", create a formula that looks for related records: set the field to IsValid(:record_id). The result will be 1 for records existing also in "B" and 0 for records not existing in "B". Search for the 0 and delete them. Gerd
Recommended Posts
This topic is 8619 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 accountSign in
Already have an account? Sign in here.
Sign In Now