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.

Clearing repeating fields

Featured Replies

I know repeating fields are evil but part of my solution requires importing multiple line item records into a single record in another file with repeating fields. I can get the import to work by setting a global repeating field with the values from individual records then importing those fields into the other file. The problem is that after import I need to go back and clear all the repeats for the next import. Using set field for "" for every repeat of the global fields works but it seems there should be a better way. There should be a way to use loop but I can't seem to figure it out.

Any ideas would help.

Thanks,

Wayne

  • Newbies

Duplicate your database without the repeating field (tempdb). Select the records you wish to clear in the main database. Create scripts to import the selected record(s) to the tempdb. Use matching names. Delete the records in your main database. Import the records in your temp database into your main database. Delete all records in your tempdb.

Sounds complicated; however, it is only a few lines of code and it sure beats the options.

By the way,don't use set field for "", rather, use clear(field).

Nope, you can't reference a repeat number with a variable. -bd

If the repeating fields are setup with tabs on, there are 2 techniques that John Mark Osborne came up with that might make thins a little easier. Do a search at "www.databasepros.com" for reapeating fields.

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.