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.

Featured Replies

Have a FileMaker Pro 6 database that is running under Windows 2000. Each record of the database has four large text fields.

The main text field (

Brad, i would use the Replace Contents script step instead of looping. Show All Records, make sure you're focused on a layout where b, c, and d are all visible, then Replace Contents ( b , Case ( a = b , "" , b ) )

This should go more quickly than looping.

Jerry

There is some controversy about which is better or faster. Many developers whose files are used in a networked environment use Loop instead of Replace. With a Loop you can get an error and trap records which may be locked by other users. In the case above it doesn't sound that critical. Even less of a problem with version 7, but still possible for a user to lock a record while editing.

The main reason Loops are slow is because they don't have these 2 steps first:

Freeze Window

View as Form

They are many times faster with those steps, about the same speed as Replace on networked files. Replace has a "gotcha" in that the field must be on the current layout, whereas Set Field doesn't care.

Fenton said:

Replace has a "gotcha" in that the field must be on the current layout, whereas Set Field doesn't care.

Just wanted to point out this also no longer applies to FM7, you can perform a Replace now on fields that are not on the layout.

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.