Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/03/2010, 08:48
charlietom
 
Fecha de Ingreso: diciembre-2009
Mensajes: 2
Antigüedad: 14 años, 4 meses
Puntos: 0
Respuesta: Dar formato decimal a un text box !!!

ok fijense lo siguiente, este es mi codigo :

For I = 0 To UBound(tabla) - 1
With res
.ActiveConnection = cn
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.LockType = adLockOptimistic
.Open "insert into tb_plan (cod_subta, tiempo, cod_planif, cod_audit, cod_tarea, cod_prog, cod_emp, cod_divi, id_audit) values ('" & tabla(I).cod_subta & "', '" & Format(tabla(I).tiempo, "## #,###.00") & "', '" & tabla(I).cod_planif & "', '" & tabla(I).cod_audit & "', '" & tabla(I).cod_tarea & "', '" & tabla(I).cod_prog & "', '" & tabla(I).cod_emp & "', '" & tabla(I).cod_divi & "', '" & tabla(I).id_audit & "' ) "
End With
Next

a pesar de que le estoy dando formato para que me maneje el decimal con punto, en mysql cuando reviso los registros me aparece 0.00....

me podrían ayudar muchachos !!!
gracias...