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.

blank field in ascending sort-blank fields last?

Featured Replies

  • Author

I need to sort records by ascending date and have the records with the blank date fields appear at the end of the report rather than at the first. There has to be a way to do this, but I can't find it. I'm looking at a FMPro 6 bible, and it even says "If a record contains nothing in the sort field and you perform an ascending sort, it will appear at the beginning of the set of sorted records". O.K., but we don't want these records at the beginning of the set. Help, please.

I need to sort records by ascending date and have the records with the blank date fields appear at the end of the report rather than at the first. There has to be a way to do this, but I can't find it. I'm looking at a FMPro 6 bible, and it even says "If a record contains nothing in the sort field and you perform an ascending sort, it will appear at the beginning of the set of sorted records". O.K., but we don't want these records at the beginning of the set. Help, please.

  • Author

I need to sort records by ascending date and have the records with the blank date fields appear at the end of the report rather than at the first. There has to be a way to do this, but I can't find it. I'm looking at a FMPro 6 bible, and it even says "If a record contains nothing in the sort field and you perform an ascending sort, it will appear at the beginning of the set of sorted records". O.K., but we don't want these records at the beginning of the set. Help, please.

Not sure if this will work. BUT, you could create a value list based on your Date Field. You can then use the "Customer Order based on Value List".

According to the FM Documentation (version 6), it will put the values not found at the end of the sort.

Only caveat is whether the blank records get a value in the list or not.

Worth a try.

Not sure if this will work. BUT, you could create a value list based on your Date Field. You can then use the "Customer Order based on Value List".

According to the FM Documentation (version 6), it will put the values not found at the end of the sort.

Only caveat is whether the blank records get a value in the list or not.

Worth a try.

Not sure if this will work. BUT, you could create a value list based on your Date Field. You can then use the "Customer Order based on Value List".

According to the FM Documentation (version 6), it will put the values not found at the end of the sort.

Only caveat is whether the blank records get a value in the list or not.

Worth a try.

Gave it a quick try & it looked successful.

Gave it a quick try & it looked successful.

Gave it a quick try & it looked successful.

  • Author

Thanks. I'll give it a try.

  • Author

Thanks. I'll give it a try.

  • Author

Thanks. I'll give it a try.

  • Author

PERFECT! Thanks so much!

  • Author

PERFECT! Thanks so much!

  • Author

PERFECT! Thanks so much!

I have blank values. They always screw up reports.

So I make a calculation field along the lines of

If( IsEmpty( field ), "<default>", field )

and use this calc field in the reports. All blank entries then display the <default> value, which looks much better then nothing.

I have blank values. They always screw up reports.

So I make a calculation field along the lines of

If( IsEmpty( field ), "<default>", field )

and use this calc field in the reports. All blank entries then display the <default> value, which looks much better then nothing.

I have blank values. They always screw up reports.

So I make a calculation field along the lines of

If( IsEmpty( field ), "<default>", field )

and use this calc field in the reports. All blank entries then display the <default> value, which looks much better then nothing.

Also, a calc field just for sorting doesn't need to be in the layout.

If(IsEmpty(date);1000000;GetAsDate(date)).

Also, a calc field just for sorting doesn't need to be in the layout.

If(IsEmpty(date);1000000;GetAsDate(date)).

Also, a calc field just for sorting doesn't need to be in the layout.

If(IsEmpty(date);1000000;GetAsDate(date)).

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.