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

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

Recommended Posts

Posted

Is there a way to script names for Saved Copies of an FM database?

Specifically, Is there a way to timestamp the name for a file.

What I would like to be able to do is:

Create: [color:red]"File X"

Save as: [color:red]"File X March 19, 2009"

Any way to automate names of saved files?

Posted

You cannot use Save A Copy with a hosted file. You need to use FMS backup scripts.

However, for a quick lesson in paths:

Set Variable [ $exportPath; Value:Get (DesktopPath) & Get ( FileName ) & Substitute (Get (CurrentDate); "/" ; "" ) & "_" & Substitute ( Get (CurrentTime) ; ":" ; "_") & ".fp7" ] 

Save a Copy as [ “file:$exportPath” ] 

[ compacted copy (smaller) ] 

This topic is 5730 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.