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.

Tidying up text in calculation field

Featured Replies

  • Newbies

This is my first posting so please be gentle.

I have a layout which requires me to take data from 40 plus fields and merge them. The problem is that as I have to put punctuation between all fields and yet some fields are empty, I end up with multiple punctuation when fields are empty.

Is there a way of stopping this?

  • Newbies

Use the

IsEmpty(field)

in your calculation. Sometimes

not IsEmpty(field)

makes more sense.

  • Author
  • Newbies

I had a quick look at IsEmpty and Filemaker's Help states that function is only for numbers and only returns a 1 or a 0.

I am planning to merge 40+ fields into a single field. Some of these fields are empty, but as I am having to place space/punctuation between values in merged field I am ending up with for example:

value one, value two, , , , value six, , value eight, , , , , , value fourteen

when I only want:

value one, value two, value six, value eight, value fourteen

Get the idea. Do you know how I can do this?

code:


Substitute(

If(not IsEmpty(Trim(Substitute(Field1, "

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.