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

How do you nest two types of text function?

I have TextFormatRemove (self) + Trim (Self) and I get a 0 in the field so I know this is not correct.

When nesting functions, you put one within the other according to the logical sequence of evaluations. And it helps to keep the 'nests' on separate lines for easier reading and understanding. It also hopes to comment your closing brackets as you go (notice the //).

So you decide what you want to do first - Trim. You create [color:green]Trim ( Self ). Then you want to take THAT calculation and remove formatting so you wrap as

[color:blue]TextFormatRemove (

[color:green]Trim ( Self )

[color:blue]) // end TextFormatRemove

Of course this is simple example and splitting the logic onto separate lines or indents is mostly worthwhile when more complex but, when new, it helps you build your calculations ... start from the inside, where the evaluation will happen first and then begin wrapping, recognizing that each wrap will apply to the ENTIRE calculation within. I hope that helps. :smile2:

What ... was I asleep while you responded, Stephen? ROFLMAO!!

  • Author

Thanks Folks! Works perfect!

  • 3 weeks later...

This works in version 9 or higher, but I'm trying to do the same thing for a client who is still using version 8.

This works:

TextFormatRemove (Trim ( field name )

but if I want the field to auto-enter related data, nothing happens.

TextFormatRemove (Trim (related data::field name)

In this example, not only does the formatting not remove, but the related data doesn't enter either.

Any ideas?

I may have found my own solution, but I'll post it here anyway in case there's anyone else having the same problem, or in case someone else has a better solution. This works in FileMaker 8:

Case(

IsEmpty(field name);

linked data::linked field name;

Trim(Substitute(TextSizeRemove(TextFontRemove(field name));"¶";"")))

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.