Jump to content
Server Maintenance This Week. ×

Auto Run Script


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

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 8408 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.