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.

Clear entire repeating field quickly, FM8

Featured Replies

Is there a way to quickly clear an entire global repeating field that does not require each repetition to be deleted?

I am currently implementing a set of back/forward buttons in a database using a global repeating field of an arbitrarily large size. Since these type of buttons act as a stack, I tried to implement the functionality as one would normally use via an array (i.e each new page visit yields a push on the back stack, clicking back pops the value off back and pushes in onto the forward stack). Since FM8 supports accessing individual elements of a repeating field dynamically (I have done this in previous versions of Filemaker via string operations), using a repeating field seemed like the most 'natural' solution. However, I want to clear the global repeating fields upon file exit (or open) without having to loop through each element. Moreover, when ever a new page is visited the forward stack needs to be cleared. Currently, I can avoid having to clear the entire stack by creating another global variable to essentially act as a pointer to the location of the proper index to access. However, I do not want additional data being stored in global variables where not necessary. (In a quick test I did, storing a floating point number in each of the maximum possible 32000 repetitions resulted in about a megabyte of storage.)

So, how can I clear a repeating field quickly?

Try an Import, that should be pretty quick.

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.