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.

Clearing Fields in Duplication of Records

Featured Replies

I have a procurement database where the Users can duplicate an old purchase request because the same item is purchased yearly. In my script for the user to duplicate, I have certain fields that are "Cleared" when the record is duplicated. I found that some of the fields that I requested "cleared" were not clearing. I realized that the User does not have access to those fields. How can I write the script so these fields will clear even though the user does not have access?

Thanks!

FileMaker Version: Dev 6

Platform: Windows 2000

Try using the Set Field script step with a null (double quotes) for those fields.

Set Field [fieldname, ""]

HTH, Mike

  • Author

Mike,

Thanks, that makes sense. I was trying the "IsEmpty" function and that didn't work. I'll give it at try.

Thanks again!

Adele,

The IsEmpty function just checks to see if a field is empty, it does not clear the field.

HTH, Mike

Also, the good thing about the Set Field function is that you do not have to have the field on the current layout. You can be on one layout and use the Set Field function to modify a field on a different layout.

Mike

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.