>I have this two variables:
>
>ltEnterDatetimeEmployee = 29/09/2006 08:45:00 (data extracted from a datetime field)
>
>lcOfficalHourToEnter= "08:30:00" (data extracted from a char field)
>
>I need to determine if an employee is late, comparing both expression..
>
>
>Carlos Burgos
ltEnterDatetimeEmployee = CTOT("29/09/2006 08:45:00")
lcOfficalHourToEnter= "08:30:00"
? "LATE ",ltEnterDatetimeEmployee > CTOT(STUFF(TTOC(ltEnterDatetimeEmployee),12,8,lcOfficalHourToEnter))