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

Hi,

I'm trying to create a calculation field to concatenate multiple fields (about 10)into a single field (field1 & field2 etc). Thing is, some of the fields are empty and I do not want to add those fields. Does anyone know of a way to do this?

Thanks,

Grahame.

Use a conditional If[] statement in conjunction with IsEmpty[] function...

If[isEmpty[field], <empty>, <not empty>]

Maybe I'm missing something, but the concatenation of blank fields is still a blank field. wink.gif" border="0 You don't need the test. IsEmpty will not detect a field full of spaces as "empty". The calculation can be:

Field1 & Field2 & Field 3 & Field4

The only time you need the IsEmpty is if you are concatenating the fields with a delimiter such as <cr> or dash.

-bd

  • Author

Ok Vaughan, just to make sure I've got this. Using only three fields to keep this uncomplicated wink.gif" border="0, are you saying I should do the following? (deep breath):

If[isEmpty[field1], field2 & "

Nearly... Let's think the logic out a bit: let's say you want to join the fields together with

  • Author

Ahhh...yes, that looks better - I seem to have a panache for over complication I'm afraid smile.gif" border="0

Thanks very much for your help.

Regards - Grahame.

quote:

Originally posted by Vaughan:

Nearly... Let's think the logic out a bit: let's say you want to join the fields together with
  • Author

Hi Vaughan,

Hope you don't mind me asking another question related to this last one. The formula you helped me with is working great for my flat-file databases. I'm now trying to achieve something similar with a relational database. The formula I'm using is:

If( IsEmpty(Tel_Dir_cont::Name), "", Tel_Dir_cont::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.