Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi All - My 1st post here.

All I am trying to do is setup a script which copies the whole record (with all of its field contents) to a replica database for achive purposes. Is there an easier way than sending over each field separately?

Thanks

Mike

Posted

You could make a script to do this:

- Find (find only this record, use it's unique id)

- Go to other db (leave this db open!)

- Import records from first db. (as long as the first db is still open, it will only import the found set of records, which is only one)

- Go back to first db.

- Delete record (if you wish)

You could also expand this with an "archive" field. Mark records as "archive" throughout the day, then at the end of the day find all archive records, import them, and delete the records from the first db. If you don't want to delete them, you could set a second field "already archived" so they don't get archived more than once.

Posted

The import records from 1st DB could not complete as the database is in use by FM server. I have got around it by making a script which exports all records from 1st DB to a file and then runs an external script from the 2nd DB which imports the same file. This seems to work for now

Ta

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