Hi,
I tried what you wrote, but i get an error. Here is the code:
sub TotalHours(StempId)
dim sessiontime, totaltime
sessiontime = "00:00"
totaltime = "00:00"
for i = 0 to StempMaxRows
if (StempArray(0,i) = StempId) Then
Response.Write(StempArray(1,i) & " - " & StempArray(2,i) &...