john9210 Posted September 5, 2006 Posted September 5, 2006 I would like to create a script to import records into an archive file (a duplicate of a source file). The source file has 3 or 4 tables of related records. I can create a source file script that sets up the records to be exported, but I'm not sure how to write the destination file script. I don't know, for example, how to get back to the source file and switch to the layouts that have the related records. Any help would be appreciated.
Keith LaMarre Posted September 6, 2006 Posted September 6, 2006 here's one way - in the source - you "find" the records you want in Table 1 (you don't really need to export - then go to the archive and import from Table 1 then go back and find the records you want in table 2 (or go to the related records - then go to the target and import - then continue like that for all related tables. Are you using FM Pro Server? - are you deleting the records from the original source - because it you are not, you can setup some schedules to backup - or archive.
john9210 Posted September 7, 2006 Author Posted September 7, 2006 Thanks for the response, it helped a lot. I also found that opening and studying the import dialog box explained everything. I'm surprised I couldn't find a better explanation in the FM "help" file.
Recommended Posts
This topic is 6652 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