Skip 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.

last date / show even if blank

Featured Replies

Last ( Test History::Test Received )

In our portal (test history) there is a field for the Test Recieved (date). How can I use the above calculation to always show the last test received date EVEN if it is blank (not entry)?

Right now it will just default to the last date found in the portal records.

Sort portal by Test_Received_Date descending.

Your_Calculation=TestHistory::Test_Recevied_Date

Edited by Guest

That was my initial thought as well, until I tested it and found that a record with an empty date field still got sorted as the last, no matter if the sort order is ascending or descending.

So I created another field DateTest, calculation :o

If(IsEmpty(date);0;GetAsNumber(date))

Then sort your relationship on this new field and it should work. See attachment.

HTH,

Peter

Date.zip

  • Author

Hey Peter thanks! I was a little confused about that at first but it worked! I also put it as GetAsDate

If(IsEmpty(Test History::Test Received);"";GetAsDate(Test History::Test Received))

And then I sorted the relationship by test issue date descending

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.