i have a form with timestarted and timeended and i have asked this question before but in access the way they did it was in a query but i don't know how to work the query in vb6 so maybe one of you people can help me i am trying to figure out how i can get the hoursworked on my form from the fields timestarted & timeended i thought you could do this:
but as as you have guessed it didn't work, so if anyone knows how to do this please help!!!!
lee123
Code:
Private Sub HoursWorked_Change() Dim Hoursworked as integer Hoursworked = (timeended) - (timestarted) End Sub
lee123
Comment