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.

Earliest Date

Featured Replies

I have a bunch of records with a date field. I want to get the value of the earliest date to use in a calculation but cannot see how I can find it.

Can you help?

Guy

Hi Guy,

You haven't given us much, but here's an example:

Whether that date is in a related table, another file or within the SAME table, you can establish a relationship to it. This 'earliest date' will probably be the first date in the relationship. You can then simply specify in the calc, "Give me this first related record" and you are finished.

Now, the question is ... what structure are we dealing with? One table? Two? Any existing relationships? Where does the date appear (in relation to the other dates within the table), etc.

Example: If you have only ONE table, you can establish a cartesian join using the 'X' operator (which indicates all records are related to all records) from the table to itself. This is called a self-join. Then, if that date is the FIRST date, just specify the related date as SelfJoin::dateField in your calculation to grab that date. If the first record is NOT the first date you need, you can sort that self-join on the date field (or other fields) to MAKE it the first. Or make it the last, etc. There are many ways to accomplish what you wish.

Once we know more about your structure and that date, and/or know the type of calculation you require, we can pin down precisely how to achieve it.

LaRetta :wink2:

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.