Crystal Reports XI, reporting off of an AS/400
I am reporting how many times our customers accounts have been touched, how many unique accounts, how many unique touches, etc... to try to figure out how many times our customers make contact with us a single time in a rolling 30 days. The problem I am having is keeping track of the individual reps touches without making a rediculous amount of individual running totals.
My grouping is as such:
Customer Account Number
Date/Time/Reason - Rep #1
Date/Time/Reason - Rep #2
Date/Time/Reason - Rep #3
Date/Time/Reason - Rep #4
End Group
What I need to know is the last person to touch the account and keep a running total of that person without making a ton of formulas.
Here's the BIG hitch, I cannot use subreports because this will eventually be embedded into another report that will link by rep ID for a scorecard. My preferred way (and normal way) of handling this would be groupings, but since I need the grouping by account numbers to determine the order of access and who accessed them.
I obviously can't group by user because, by all accounts, I cannot determine whether they were the last one to access an account, at least by any means that I know.
My databases to use are this:
TLOGMSTR
TLACCT (Account Number)
TLUSER (Username)
TLDATE (Date)
TLTIME (Time)
TLNUM# (Transaction Log Number)
TLOGREAS
TLREAS (Main reason)
TRNUM# (Transaction Log Number, links to TLNUM#)
EMPLOYEES
LOGIN (Username, links to TLUSER)
An actual grouping would end up looking like this:
ACCT: 00000000
02/15/2009 14:00 REP#1
02/15/2009 14:02 REP#2
02/15/2009 14:03 REP#1
02/15/2009 14:07 REP#5
Any info that can be given is highly appreciated.
Thanks!
I am reporting how many times our customers accounts have been touched, how many unique accounts, how many unique touches, etc... to try to figure out how many times our customers make contact with us a single time in a rolling 30 days. The problem I am having is keeping track of the individual reps touches without making a rediculous amount of individual running totals.
My grouping is as such:
Customer Account Number
Date/Time/Reason - Rep #1
Date/Time/Reason - Rep #2
Date/Time/Reason - Rep #3
Date/Time/Reason - Rep #4
End Group
What I need to know is the last person to touch the account and keep a running total of that person without making a ton of formulas.
Here's the BIG hitch, I cannot use subreports because this will eventually be embedded into another report that will link by rep ID for a scorecard. My preferred way (and normal way) of handling this would be groupings, but since I need the grouping by account numbers to determine the order of access and who accessed them.
I obviously can't group by user because, by all accounts, I cannot determine whether they were the last one to access an account, at least by any means that I know.
My databases to use are this:
TLOGMSTR
TLACCT (Account Number)
TLUSER (Username)
TLDATE (Date)
TLTIME (Time)
TLNUM# (Transaction Log Number)
TLOGREAS
TLREAS (Main reason)
TRNUM# (Transaction Log Number, links to TLNUM#)
EMPLOYEES
LOGIN (Username, links to TLUSER)
An actual grouping would end up looking like this:
ACCT: 00000000
02/15/2009 14:00 REP#1
02/15/2009 14:02 REP#2
02/15/2009 14:03 REP#1
02/15/2009 14:07 REP#5
Any info that can be given is highly appreciated.
Thanks!