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.

Script Step to turn on/off Auto-Enter Options in Dialog Box

Featured Replies

  • Newbies

I'm using the "Calculated value" option in the Auto-Enter Options dialog box to run calculations on several fields during an Import of data. It cleans up some miss spelled data.

But I need to turn OFF the "Calculated value" options after the import is done using a Script step if there is one?  Or some other method?  And back on before the import as well. 

FYI... If I leave it turned on the Formula I have specified for the Calc will make the field data disappear if it doesn't match and of the possible calculation results.

I did see the wonderful Auto-Enter options in the newly updated Import Dialog box in FileMaker 18, but that wants the formula's left active or √ as they say.  Thank in advance!  😀

Perhaps add a conditional to the calcs so they only fire during import. Set a flag $ImportProcess at the start of your import routine. 

26 minutes ago, SBC said:

 Or some other method?  

Immediately after import, the found set contains only the imported records. This is a good time to run Replace Field Contents on those fields that need correction. You can (and should) make this part of your import script and remove those auto--enter options that are not meant to be used otherwise. 

 

  • Author
  • Newbies

Thanks to both of you for your quick responses!

I have to admit that sometimes one can't see the forest from the trees!  Running the "Replace Field Contents" AFTER the import has finished is perfect.  Some times one needs a good slap up side the head to see something so simple and obvious!  Thanks again!  😀

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.