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 6293 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Please how do I get this calculation to look at the last entered date and not the first? It's just a list of dates that people have attended and all I want it to show is the amount of days since last attended.

Get ( CurrentDate ) - Attendance_Date

Many Thanks

Posted

"It's just a list of dates..."

You mean that all of the dates are entered into one field? If so, then that's the problem. Databases don't work that way.

The dates all need to be entered into records of their own. Then it's easy to find the record with the last entered date.

We need additional information to suggest anything more specific.

Posted

The Last Attended calculation needs to be in the Details table, not the related table. The calc should be:

Get( CurrentDate ) - Max( Attendance::Attendance Date )

Posted

New it was an easy one (for experts), never even new the Max function existed, still learning, is Filemaker great!

Thanks Again!!

Posted (edited)

"ever even new the Max function existed..."

Yep, there are lost of functions to play with.

Another thing you need to know: say a Details record has more than one related Attendance records. From the Details (parent) record, a reference to a related Attendance field will only return the value from the *first* related record. The Max() function is able to see all the related values, as can the Sum(), Count(), List() and some other functions.

Edited by Guest

This topic is 6293 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.