rivet Posted April 22, 2008 Posted April 22, 2008 I have one table with several related tables. When and edit is made in the main or related tables, I would like to know which table has the most recent modification to it. To get the mod date or time I am using the Max function. The challenge is getting the 'max' user.
comment Posted April 22, 2008 Posted April 22, 2008 If you sort your relationship by ModificationDate, you can get data from the last modified record either directly (if sorted descending), or by using the Last() function (if sorted ascending). Or use a calculation field = Case ( ModificationDate = Parent::MaxChildModDate ; ModifiedBy ) and get the data into the Parent using the List() function. Note that there is a possibility of a tie, returning more than one name.
Recommended Posts
This topic is 6058 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