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.

find records by comparing two date fields

Featured Replies

  • Newbies

I need to find records based on the content of one date compared against a second date field in the same table.

if date1 is greater than date2 show the record

Do I need a self-join to accomplish this?

Thanks

An easy way to do this is add a calculated number field = Date1 > Date 2. If true the result is 1 otherwise it is zero. Find the records that = 1.

You could use a relationship, as long as both date fields are not globals. A relationship where date1 > date2 or date2 < date1 should work. Use Go to Related Record [show only related; "thisrelationship"] to isolate the related records.

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.