![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi there, I am trying to write a script to archive my database. I have written a script that will perform a find such that the user enters the date and it will find all the records preceding this date and then I would archive these records. So, I did this, I did my find and got my found set...and I have a clone of my database where I have an import script that is just the import command. In my original database after I perform the find, the script opens the clone, and when the clone opens it should run the import script on startup(which it does) to import the found set...cept I get this message Table cannot be copied onto itself Obviously I am not doing something right...otherwise it would work ![]() Can anyone help me please? merci, chris |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I managed to get it to import the records but it always imports all of the records not just the found set...is there some way to tell it just import the found set? |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
It might be more efficient to backup your data using "Save A Copy As". This gives you a complete data backup, it can be run on shutdown, and you can specify where the backup file is to go and what its name is. If you ever have to restore your data from the backup, you just throw out the original file, rename the backup to the original file's name and away you go. If you need to import into an updated version of the files, it's easier to import from a FileMaker file since it allows for import by field name. Anyway, just a suggestion. |
![]() |
| Thread Tools | |
| Display Modes | |
| |