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.

Using IsEmpty to return the correct results

Featured Replies

I posted a sample file to explain what i'm trying to do. In the employee record i want the field flag to have a value of "on" if any of the related records does not have a value in the stop field. This needs to work even if the portal is not on the layout. thanks


trying to figure out how to post the file

Untitled.fmp12.zip

So you were using LineItem:lineItemFlag instead of the stop field in the calculation. set the flag field calculation to:

 

If ( IsEmpty(LineItems::stop) ; "Off" ; "On" )

 

or something like that, if you dont want the Off.

 

 

Good Luck with your solution!

Gabe

I think I would put the flag in the related data portal, I also used Conditional Formatting so that it would stand out. You don't need a default in a case statement, it will default to empty.

riverbend.fmp12.zip

Edited by Lee Smith
left out the word portal

IF you need the LineItems flag calculation which produces the "on" for other things then you can keep it but you do not need it at all to achieve what you wish.   In Employees,  your flag calculation (result is text) could be:

 

Case ( Count ( LineItems::keyID ) > Count ( LineItems::stop ) ; "On" )

  • Author

Yes, that works. Thanks

 

IF you need the LineItems flag calculation which produces the "on" for other things then you can keep it but you do not need it at all to achieve what you wish.   In Employees,  your flag calculation (result is text) could be:

 

Case ( Count ( LineItems::keyID ) > Count ( LineItems::stop ) ; "On" )

Yes, that works great. Thanks

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.