Hi,
In Access 2000, I have a table that contains:
Date Staff Calls Handled DateNumeric
01/01/2004 A 100 20040101
02/01/2004 A 89 20040102
03/01/2004 B 100 20040103
and I'm trying to acheive a select qeuery that will give me:
Date Staff MonthToDateCallsHandled DateNumeric
01/01/2004 A 100 20040101
02/01/2004 A 189 20040102
03/01/2004 B 100 20040103
So far I have:
MTDHld: Format(DSum("InHld","tblM8AHT","[DateNumeric]<=" & [DateNumericAlias] & ""),'#')
Where [DateNumeric] is a field I added to the table which is val(format$([Date],'yyyymmdd'))
But this only gives me a culmlative daily figure for Calls Handled
Anyone have any idea how I can produce a figure that is Month to Date total of Calls handled by staff member?
Its a tough one thanks for any help!
In Access 2000, I have a table that contains:
Date Staff Calls Handled DateNumeric
01/01/2004 A 100 20040101
02/01/2004 A 89 20040102
03/01/2004 B 100 20040103
and I'm trying to acheive a select qeuery that will give me:
Date Staff MonthToDateCallsHandled DateNumeric
01/01/2004 A 100 20040101
02/01/2004 A 189 20040102
03/01/2004 B 100 20040103
So far I have:
MTDHld: Format(DSum("InHld","tblM8AHT","[DateNumeric]<=" & [DateNumericAlias] & ""),'#')
Where [DateNumeric] is a field I added to the table which is val(format$([Date],'yyyymmdd'))
But this only gives me a culmlative daily figure for Calls Handled
Anyone have any idea how I can produce a figure that is Month to Date total of Calls handled by staff member?
Its a tough one thanks for any help!