Frazer Posted November 24, 2000 Posted November 24, 2000 Hi All, I have a script which exports records to a file which is then imported by another database. My problem is that I want to delete the export file before I run another export. i.e.: > Run Script > Delete old export file > Export files to new export file Does anyone know how I can delete the file from within the script. I'm running FMPro5 on a Windows PC. Thanks
dmack Posted November 24, 2000 Posted November 24, 2000 Are you using the script to make an updated copy of the export file? If yes then you can just set the script to export the file and overwrite the old file... Write the script and specify the file/filename... It will Automatically overwrite it everytime... ------------------ Thanks, Ken
Frazer Posted November 24, 2000 Author Posted November 24, 2000 Sorted, thanks! Only problem now is that it appears to be adding blank records (about 14 in total) during the export process (i.e. 704 records in original database and 728 in exported file)! Any ideas anyone?
Frazer Posted November 24, 2000 Author Posted November 24, 2000 Sorted, thanks! Only problem now is that it appears to be adding blank records (about 14 in total) during the export process (i.e. 704 records in original database and 728 in exported file)! Any ideas anyone?
Recommended Posts
This topic is 8770 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