N
Nicholas Scarpinato
I have two tables, one with a list of reason codes, and one with the data I
run my reports on. My data table has five fields: Description, Total Time,
Average Time, Occurances, and Agent Name. My reason code list table only has
one field, Reasons. What I want to do is add a line to my data table with
zeros for Total Time, Average Time, and Occurances for each Reason Code the
agent is missing data for. For example:
Agent: Total: Average: Occurances: Description:
Mike 1:00:00 0:20:00 5 Break
Mike 0:30:00 0:10:00 3 Personal
Reasons:
Break
Not Ready
Personal
Call Wrap Up
Status ETS
Meeting
Training
For every Reason that the user does not have data for, I want to add zero
data records for that reason to the main data table, like this:
Agent: Total: Average: Occurances: Description:
Mike 0:00:00 0:00:00 0 Status ETS
....
....
etc.
I've tried an unmatched query, but all I come up with are two records for
reason codes that no user in the table has any data for. I really don't know
how to explain this problem any better... hopefully someone can understand
what I'm trying to get at and help me figure out what I'm missing.
run my reports on. My data table has five fields: Description, Total Time,
Average Time, Occurances, and Agent Name. My reason code list table only has
one field, Reasons. What I want to do is add a line to my data table with
zeros for Total Time, Average Time, and Occurances for each Reason Code the
agent is missing data for. For example:
Agent: Total: Average: Occurances: Description:
Mike 1:00:00 0:20:00 5 Break
Mike 0:30:00 0:10:00 3 Personal
Reasons:
Break
Not Ready
Personal
Call Wrap Up
Status ETS
Meeting
Training
For every Reason that the user does not have data for, I want to add zero
data records for that reason to the main data table, like this:
Agent: Total: Average: Occurances: Description:
Mike 0:00:00 0:00:00 0 Status ETS
....
....
etc.
I've tried an unmatched query, but all I come up with are two records for
reason codes that no user in the table has any data for. I really don't know
how to explain this problem any better... hopefully someone can understand
what I'm trying to get at and help me figure out what I'm missing.