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.

Scripting in Repeating Fields

Featured Replies

  • Newbies

Is there a way to delete all entries in a repeating field using scripting? I've tried, and have only been able to delete the first entry.

Help!

D.T.

quote:

Originally posted by DirtyThief:

Is there a way to delete all entries in a repeating field using scripting? I've tried, and have only been able to delete the first entry.

Help!

D.T.

Not with a single step. You could delete all repetitions of the field using the Set Field command for each repetition.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.inthescene.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

  • Author
  • Newbies

How would I script that? Is there a specific calculation to tell it to go to the next repetition?

  • Newbies

quote:

Originally posted by DirtyThief:

How would I script that? Is there a specific calculation to tell it to go to the next repetition?

No.

Workaround is to create a second database with an empty repeating field(same number of repeatitions) and do an import(with selected "Replace records" option)into the repeating field you want to clear.In this case you nees to have the same number of found records in both databases(scriptable).

quote:

Originally posted by DirtyThief:

How would I script that? Is there a specific calculation to tell it to go to the next repetition?

Set Field (FieldName, 1) = ""

Set Field (FieldName, 2) = ""

and so on...

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.inthescene.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

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.