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

Is there a way to undo a script that I just performed. In other words. Give the user an option to completely undo what the script performed? Like an on script/ off script button. So if the script performed a bunch of calculations on some fields and the user later wanted to go and not have that script been run on those fields click a button to undo it?

Erik

Everything is possible. Your question indicates that perhaps you are overwriting field values, and perhaps you would be best served with a design that didn't do that. "A bunch of calculations on some fields" ...can you expand on that?

For example, if a script adds a record that changes a subtotal, simple deleting or marking that record "void" will "revert" the script that added the record and the subtotal will recalc.

Hi Erik, and welcome to the Forum.

There isn't an UNDO in FileMaker, like you might find other programs such as Adobe PhotoShop. Those UNDOs are usually limited to last save, or session specific anyway. Your descriptions sounds like some time has passed and you have discovered a major error in records that were changed?

Whenever you are looking at Reverting records, it requires a new entry, either through a script, or through manual impute or interaction with functions such as Substitute, Replace, etc. Reverting like this can be very dangerous, and should only be done with a Backup of your File. It is so easy to mess this process up because you are always working with a found set, whether it is ALL Records, or one you have pull by doing a Find.

Without knowing more about what it is you are trying to accomplish, maybe more information on what went wrong, and what you need to change in those records.

In other words, Is it one Record, one Field. one Record, Several Fields, Several Records, one Field, Several Records, Several Fields?

Is this something that you can see happening again in the future?

If so, perhaps an Audit Log like, Ultra Log, or a Field Modification Log such as you can find by doing a search on Database Pros site Link for Field Modification can help you in the future.

HTH

Lee

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.