November 24, 200025 yr 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
November 24, 200025 yr 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
November 24, 200025 yr Author 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?
November 24, 200025 yr Author 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?
Create an account or sign in to comment