Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8770 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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?

Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.