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 All,

I have two fields, A & B

A is set to:

If ( IsEmpty ( database::A); "" ; "A: " & database::A

B is set to:

If ( IsEmpty ( database:::; "" ; "B: " & database::

Works well, if noting is found in A then no result is show and the same for B.

I need to be able to make so if a records is found in B then A is not shown regardless of whether it has data or not

This cal is beyond me so I'm asking for your help

Thanks Tony

Do you mean:

If ( not IsEmpty ( database::A ) and IsEmpty ( database:: ) ; "A: " & database::A )

  • Author

Not sure how to express it in a calculation but it needs to be:

I if data in A show A, if data in A and B then only show B

if data in A show A, if data in A and B then only show B

... or rephrasing this, if there is data in B then show it, otherwise show A.

Case( not isempty( B ) ; B ; A )

This assumes that if there is data in B but not A then B should be shown.

  • Author

... or rephrasing this, if there is data in B then show it, otherwise show A.

Case( not isempty( B ) ; B ; A )

This assumes that if there is data in B but not A then B should be shown.

Cool understand the logic, how would I show B only, even if there was data in both A and B?

This does exactly that: if B is not empty, display B, else display A. The condition -- that B is not empty -- has no regard for what is in A.Thus it displays B whether A is empty or not.

Cool understand the logic, how would I show B only, even if there was data in both A and B?

That's exactly what it does.

What happens when you tried it out for yourself?

Why do you say "Cool understand the logic" when - well, it seems you don't.

  • Author

Doh, had the field round the wrong in my cal, thanks some much guys...

Tony

Edited by Guest

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.