Visual Basic - formato hora en listbox

Life is soft - evento anual de software empresarial
 
Vista:

formato hora en listbox

Publicado por pato (3 intervenciones) el 04/12/2006 19:02:55
SALUDOS

TENGO UN PEQUEÑO PROBLEMA, ESTOY OCUPANDO UNA BASE DE DATOS MYSQL Y TENGO EN UNA TABAL DATOS DEL TIPO HORA

TIME DEFAULT '00:00:00
CUANDO LOS LLEVO A UN LISTBOX O UN LABEL O ALGUN OTRO CONTROL ME APARECE
12:00 AM , SIENDO QUE EL RESULTADO DEBERIA SER
11:21:35

LA CADENA LA ESTOY HACIENDO DE ESTE MODO

sql = "select entrada1 from asistencia where trabajador = '" & CmbPersonal.Text & "'"
Conn.Open "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Port=3306;Option==131072 ;Stmt=;Database=TSHOP;Uid=PATO;"
Set Recset = Conn.Execute(sql)
If Not Recset.EOF And Not Recset.BOF Then
Label3.Caption = Format((Recset(0)), "long time")
End If

HELP , PLEASE

DE ANTEMANO GRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder