J
Janis
If you want to force a FileCopy command to write over the previous file each
time the script is run how do you do it? The .mdbz file copy is a copy of
the database saved before the database is compacted. In case there is some
corruption or something there is a backup. There is some error checking in
the script so the next time the script is run the old .mdbz file isn't needed
since I assume the database is okay since the user would have to run the
script from a button on_click event from a form in the database. If it made
it through the script the first time then everythig should have gone well. I
just want this fileCopy to copy to the same name each time the script is run.
tnx,
FileCopy "Z:\SwimClub\acsc_be.mdb", "Z:\SwimClub\acsc_be.mdb" & "z"
time the script is run how do you do it? The .mdbz file copy is a copy of
the database saved before the database is compacted. In case there is some
corruption or something there is a backup. There is some error checking in
the script so the next time the script is run the old .mdbz file isn't needed
since I assume the database is okay since the user would have to run the
script from a button on_click event from a form in the database. If it made
it through the script the first time then everythig should have gone well. I
just want this fileCopy to copy to the same name each time the script is run.
tnx,
FileCopy "Z:\SwimClub\acsc_be.mdb", "Z:\SwimClub\acsc_be.mdb" & "z"