Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/04/2007, 23:13
luciano
 
Fecha de Ingreso: abril-2004
Mensajes: 192
Antigüedad: 20 años, 1 mes
Puntos: 0
Re: Escribir en una BS access (error 91)

Hola, probá haciendo un refresh antes de ejecutar el AddNew


Código:
Data1.RecordSource = "Select * from reparaciones"
        
        Data1.Refresh
        
        With Data1.Recordset
        
        .AddNew
            !Fecha = txtfecha.Text
            !Nombre = txtnombre.Text
            !Kms = txtkms.Text
            !Matricula = txtmatricula.Text
            !Modelo = txtmodelo.Text
            !Reparaciones = txtreparaciones.Text
            !Importe = txtimporte.Text
            .Update
       End With


-------------
__________________
Recursos visual basic