Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5376 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a problem extracting the earliest date in a set of filtered and sorted records. Both the 'GetRecord' and 'Min' functions return the lowest record number, rather than the record with the earliest date. I have to sort by by name by month, quarter and year (separate layouts) and i want to show the actual earliest and latest dates in the Trailing Grand Summary. Thanks for any help

Posted

Try a summary field defined as Minimum of [Datefield].

This is assuming by "set" you mean "found set" and that Datefield is of type Date. Records do not have to be sorted by Datefield for this.

Alternatively, if your records ARE sorted by Datefield, ascending, then =

GetNthRecord ( Datefield ; 1 )

will return the earliest date, and =

GetNthRecord ( Datefield ; Get ( FoundCount ) )

the latest (these calculations need to be unstored).

  • Newbies
Posted

Thanks. Works like a charm. So Simple - That loud, rhythmic thud you hear is me, beating my head against the wall.

Again, Thanks

This topic is 5376 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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