I have a report that I need to show only the inactive users (where {table.action} = 'I') and their userids. The problem is that some of the users have mulitple entries in the database with mulitple dates and differing {table.action} types.
For example, user BBear has one entry on January 1, 2006 11:59:04 pm where {table.action}='A'. But then Bbear has another entry on August 3, 2006 5:23:32 am where their {table.action} ='I'. Then on August 3, 2006 5:23:45 am BBear has another entry where {table.action}='A'. I need to be able to tell that as of the latest entry in the database the user BBear is considered Active regardless of the fact that BBear was inactive seconds prior.
I hope this makes sense.
I am using an oracle database and CR XI.
Thanks!
For example, user BBear has one entry on January 1, 2006 11:59:04 pm where {table.action}='A'. But then Bbear has another entry on August 3, 2006 5:23:32 am where their {table.action} ='I'. Then on August 3, 2006 5:23:45 am BBear has another entry where {table.action}='A'. I need to be able to tell that as of the latest entry in the database the user BBear is considered Active regardless of the fact that BBear was inactive seconds prior.
I hope this makes sense.
I am using an oracle database and CR XI.
Thanks!