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

Recommended Posts

Posted

Dear All,

I would like to know if we have a way to know what date is the latest date for each project. For example

Project Date

1 2003-01-01

2 2003-10-01

1 2003-12-01

2 2003-11-01

So For Project 1, latest date is 2003-12-01 and for project 2, latest date is 2003-11-01.

IS there a way to achieve this?

Thanks All

Anh Tran

Posted

Are these dates in the same field?

Will sorting by the date do what you want?

Lee

Posted

And you won't unless you change your view from Form to Table View, or create a new layout as Columnar (List View).

Lee

grin.gif

Posted

You need to sort first by Project number and then by project date. Or, create a selfjoin relationship by Project, and then make a calculated field cLatestDate with the formula:

Max(selfjoin::ProjectDate)

Posted

Oh yes. I've made a test.

I don't know why I was almost sure Max was only returning numbers.

Good to know.

BTW, did somebody found a way Max(num with some text) would return num with some text.

INV1520 ----->INV1520

Posted

If the text part is always the same then just do:

"INV" & Max(sj::InvNo)

The Max function should return the maximum of the numeric part, and then you just stick the "INV" onto the front again.

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