discusmania
IS-IT--Management
hi guys.
1. I have 4 column in my db, which is ctgry,date_enter, date_close and issue.
2. using date_close, i'll know in which week the issue was closed:
workweek=cint(DateDiff("ww",#30-12-2000#,(results
("date_close"),1,1))
3. using date_enter and date_close i calculate time to close the issue by calculating the different between date_enter and date_close like this:
days=trim(dateDiff("d",results("date_enter",results
("date_close"))+1
4. From ctgry column i'll know in what category the issue fall.
what i want to do is to list like this in a table:
Work week ctgry1 ctgry2 ctgry3
ww1 ac time ac time ac time
ww2 ac time ac time ac time
until current workweek where ac time is the accumulated time to close issue for each ctgry.
please help.
Thanks
1. I have 4 column in my db, which is ctgry,date_enter, date_close and issue.
2. using date_close, i'll know in which week the issue was closed:
workweek=cint(DateDiff("ww",#30-12-2000#,(results
("date_close"),1,1))
3. using date_enter and date_close i calculate time to close the issue by calculating the different between date_enter and date_close like this:
days=trim(dateDiff("d",results("date_enter",results
("date_close"))+1
4. From ctgry column i'll know in what category the issue fall.
what i want to do is to list like this in a table:
Work week ctgry1 ctgry2 ctgry3
ww1 ac time ac time ac time
ww2 ac time ac time ac time
until current workweek where ac time is the accumulated time to close issue for each ctgry.
please help.
Thanks