I'm using FileMaker Pro Adv 14 on Windows 7
You can set a variable to use when saving the file. Personally, I like to use a date format that sorts as text. Here's a calc that does that:
Let ( [
Dn = Get ( CurrentDate ) ;
date_string = Year(Dn)*10^4 + Month(Dn)*100 + Day(Dn) ;
Hr = Get ( CurrentTime ) ;
time_string = Hour ( Hr )*10^4 + Minute( Hr )*100 + Seconds( Hr )
"_d" & date_string & "t" & time_string
) & ".fmp12"
Of course, you will also need a way to clear out old backups automatically if you don't intend on doing it manually. That's a good reason to use FM Server, as that is a feature of the backup routine in server.
Thanks Mike. I must be having a d/a day as I can't get it to work.. sorry. I can see the logic and it makes perfect sense, it's the actual scripting that's catching me out.
I'm using 'Save a copy as' and the window I get when I choose the output file I input:
Where should I be inputting your solution? That's where I'm lost.
You need a step where you set the variable, say for example your variable is named $this.path and you set the value like I outlined above, but with the full, valid path as needed.
Then in the "Save a copy as" step where you specify the file, you enter $this.path as the only value listed.
Hope this helps