Skip 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.

Recover Script

Featured Replies

I'd like to have a user click one button and automatically recover the file. I realize that the script must be run from an external file, because the file to be recovered must not be open. I can select the damaged file of course but the problem is with the name of the recovered file: FileMaker will not allow the same name as the damaged file. So I have a script which creates a recovered file which is not the same as the original. Of course, I can instruct the user to check the byte sizes of both the original and the recovered files; if they're the same, do nothing; if they're not, copy the recovered file to the original file name. But I'd rather have FileMaker do all of this. Any suggestions?

I wouild never have a customer use the Recover command. They need to go to last backup. Recover is used to recover data. It may or may not recover more but you are playing with fire if you use the recovered file for anything other than getting data.

  • Author

But this is for a stand-alone Developer package. According to the Core Solutions Filemaker Development Standards, a Recover button is recommended. I suppose I can pause the script and instruct the user to Start | Run | cmd | cd directory and compare the files and copy over if necessary.

It is interesting that they call for a recover button in run-times but no where else. I wonder what they mean by recover.

When all else fails, look in the manual. Page 32 of FileMaker Delveloper 7 Devloper's Guide. "Recover command does not appear in the File menu of the runtime application."

The manual goes on to say to import the data from the recovered file to a copy of the original database. This would mean a clean copy, no crashes.

  • Author

OK, I see that on p. 32 of the Guide. I knew that the Recovery option was not listed in the File menu, but I thought that one could use the Recover step in a script! (The compiler doesn't give any warning that Recover cannot be used.) So, I think I'll just use the button to inform the user what to do, as per p. 32. Thanks.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.