...

View Full Version : error check



aicirt
06-26-2006, 04:56 AM
i have a system that allows users to clock in and out (ie before work and after work). i can error check for the time whether it is valid (ie is the clock out time greater than the clock in time). however if i wnat the users to clock out multiple times (ie before work, after work, before lunch, after they lunch), then i assume i need to use a for loop to do the checking right?
anyone got any guide for me??

vwphillips
06-26-2006, 09:33 AM
how are you storing the last clocked time for comparison?

aicirt
06-26-2006, 11:30 AM
all clock time is stored under id txtClockTime

vwphillips
06-26-2006, 11:34 AM
all clock time is stored under id txtClockTime

you will need to be specific, format, retreval etc

aicirt
06-27-2006, 02:25 AM
do u mean this?


<INPUT type="text" name=txtClockTime maxlength=5 size=5 value="<%=formatdatetime(v_HistTime,4)%>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum