Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I have a backup script that runs when the file is opened which saves a copy of the file.

I want to save the name with a timestamp so I'm setting this variable in the script:

Set Variable [$filename ; "MyDatabseBU_"&Timestamp(Get(CurrentDate);Get(CurrentTime))&".fp7"

Save a Copy as [$filename;copy]






This returns the error




“MyDatabseBU_03-05-2011 3:10:58 PM.fp7” could not be created on this disk.  Use a different name, make more room on the disk, unlock it or use a different disk.

If I change Save a Copy as [filename;copy] it saves a file called "filename" so the path seems correct.

The full path on my Mac is file:../Documents/FM_Backup/$filename

thanks for any pointers,

jim

First,

Timestamp(Get(CurrentDate);Get(CurrentTime))




is a rather cumbersome way to write:




Get ( CurrentTimeStamp ) 

Next, in Mac OS X at least, a filename cannot contain colons.

And to add just a bit more to Comment's suggestion:

Set Variable [$filename ; "MyDatabseBU_" & substitute( Get(CurrentTimeStamp); ":"; "-") & ".fp7" ]

And, of course, this isn't the best way to back up a hosted database, but it's a good technique to use while developing in single user.

  • Author

Thank you for all your answers.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.