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.

Find and Replace or XXX to Family Night

Featured Replies

I have a file in which people can store sentences, phrases and paragraphs. I would like to have a system in which they can select a stored paragraph with "xx" and "yy" instead of first name and his/her and have it change, for example, "xx" for first name; "yy" for "his/her" and so on then paste the updated paragraph into another field.

I cannot remember how you make FileMaker search word by word within a text block and replace when it finds and then continues with he search, but I have seen this done.

Any ideas?

You will want to use nested substitute functions. Make a calculated field cResultText with the formula:

Substitute(Substitute(OriginalTextField,

"xx",FirstName),

"yy",HisHer)

...where FirstName is a field, HisHer is a field, etc. You can nest the substitute functions as deep as necessary for as many fields that you want to insert. But, you may be better off using merge fields if you just want to print these records out as form letters. Have a look at merge fields in the manual.

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.