SQL en VB
Necesito llevar unos datos que tengo en unas cajas de texto a uno campos de una table de access pero no he podido, esta es la sentencia que he tratado de que funcione:
Data1.RecordSource = "insert into clientes (CEDULA, NOMBRE, DIRECCION, CIUDAD, TELEFONO, EMAIL, ENVIO, CONTACTO) VALUES(" & txtCedu.Text & ", '" & txtNombre.Text & "', '" & txtDireccion.Text & "', '" & txtCiudad.Text & "', " & txtTelefono.Text & ", '" & txtEmail.Text & "', '" & txtDenvio.Text & "', '" & txtContacto.Text & "')"
Data1.Refresh
Data1.RecordSource = "insert into clientes (CEDULA, NOMBRE, DIRECCION, CIUDAD, TELEFONO, EMAIL, ENVIO, CONTACTO) VALUES(" & txtCedu.Text & ", '" & txtNombre.Text & "', '" & txtDireccion.Text & "', '" & txtCiudad.Text & "', " & txtTelefono.Text & ", '" & txtEmail.Text & "', '" & txtDenvio.Text & "', '" & txtContacto.Text & "')"
Data1.Refresh
1 Respuesta
Respuesta de denciso