Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/04/2012, 07:01
Avatar de lokoman
lokoman
 
Fecha de Ingreso: septiembre-2009
Mensajes: 502
Antigüedad: 14 años, 7 meses
Puntos: 47
Respuesta: Problema con guarda datos numericos

Hola!
La coma "," se usa para separar campos, eso te puede generar errores, verifica así:

Código vb:
Ver original
  1. ado1.Recordset.AddNew
  2.  
  3. 'SUPONIENDO QUE MATRICULA ES EL CAMPO NUMERICO
  4. ado1.Recordset!Matricula = Replace(txtMatricula.Text, ",", "") ' GUARDAMOS SIN LAS COMAS, SOLO NUMEROS Y PUNTOS
  5.  
  6.  
  7. ado1.Recordset!Marca = txtMarca.Text
  8. ado1.Recordset!Modelo = txtModelo.Text
  9. ado1.Recordset!Serial = txtSerial.Text
  10. ado1.Recordset!Fecha = txt3.Text
  11. ado1.Recordset!Tiempo = Text1.Text
  12. ado1.Recordset!Ciclos= txtCiclos.Tex
  13.  
  14. ado1.Recordset.Update