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.

Setting and clearing multiple fields

Featured Replies

I have a series of fields (FM8A, Win XP) with similar names (FullName1, FullName2, etc.), and I need to clear/set all of them in a script. I can do this, of course, by specifying each field individually and the set or clear operation to be performed.

Since the names are identical except for the numerical designator at the end, how can I set up a loop to do this more simply?

Thanks!

James McAlister

www.BulletinInserts.org

www.james-mc.com

There's not a dynamic way to set the target field. Instead you can put all the fields on a layout and loop through them using Go to Next Field to change the target. Loop through that as many times as there are fields.

This sounds like a good place for a related table, instead of "FullName1, FullName2, etc.".

  • Author

I was hoping to be able to use something like the FieldNames function to return a list of fields, loop through them testing for field names that match the pattern, and then act on those fields as required. But I guess that will have to wait until field names can be specified dynamically. :

I'll look at the layout approach, though. Thanks!

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.