rivet Posted February 2, 2005 Posted February 2, 2005 in a layout with many portals what is the cleanest way to calc an overall modification date based on the latest date of all related sections.
-Queue- Posted February 2, 2005 Posted February 2, 2005 If your relationships are sorted by modification date descending, Max( relone::moddate; reltwo::moddate; ... ; reln::moddate ), if ascending, Max( Last(relone::moddate); Last(reltwo::moddate); ... ; Last(reln::moddate) ), if neither, Max( Max(relone::moddate); Max(reltwo::moddate); ... ; Max(reln::moddate) ), or an appropriate combination of the three. If you want to include the parent record, just add the current table's moddate to the Max test.
Recommended Posts
This topic is 7497 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 accountSign in
Already have an account? Sign in here.
Sign In Now