Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/12/2007, 15:15
crancurello
 
Fecha de Ingreso: diciembre-2007
Mensajes: 12
Antigüedad: 17 años, 5 meses
Puntos: 0
Re: Utilizar SQL en VBASIC??

pero si ya utilice eso, no me da resultado.. es critico resolver el problema...

alguien sabe si mis comillas y eso esta bien?

Private Sub insertar_Click()
Set rs = New ADODB.Recordset
Set cn = Application.CurrentProject.Connection
rs.Open = "INSERT INTO tempreporte(CÓDIGO, DESCRIPCIÓN, UM,CANTIDAD)VALUES('" & Me.CÓDIGO.Value & "', '" & Me.DESCRIPCIÓN.Value & "' , '" & Me.UM.Value & "' , '" & Me.CANTIDAD.Value & "' , cn, adOpenDynamic"))
End Sub