Necesito ayuda con vb 6.0
Necesito guardar los datos que tengo en las cajas de texto los cuales me los arroja una consulta y necesito guardarlos en otra tabla y así almacenar más registro es esa tabla
he utilizado insert into de todas las maneras posibles y no manda ningún tipo de error pero tampoco me hace nada no me guarda los datos que yo quiero
también he utilizado addnew de la siguiente manera y me sale error de sintaxis
Adodc2.ConnectionString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;" & "DATA SOURCE=" & App.Path & "\EXISTENCIAS.MDB"
Adodc2.CursorType = adOpenDynamic
Adodc2.RecordSource = "SELECT * FROM VENTA"
Adodc2.Recordset.AddNew , "([CODIGO,PRODUCTO,CANTIDAD,VALORVENTA,VALORTOT,FECHAVENTA] [Values CODIGO.Text,PRODUCTO.Text,CANTIDAD.Text,VALORVENTA.Text,PRVENTA.Text,FECHAVENTA.Text])"
Utilizo visual basic 6 y access 2007
he utilizado insert into de todas las maneras posibles y no manda ningún tipo de error pero tampoco me hace nada no me guarda los datos que yo quiero
también he utilizado addnew de la siguiente manera y me sale error de sintaxis
Adodc2.ConnectionString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;" & "DATA SOURCE=" & App.Path & "\EXISTENCIAS.MDB"
Adodc2.CursorType = adOpenDynamic
Adodc2.RecordSource = "SELECT * FROM VENTA"
Adodc2.Recordset.AddNew , "([CODIGO,PRODUCTO,CANTIDAD,VALORVENTA,VALORTOT,FECHAVENTA] [Values CODIGO.Text,PRODUCTO.Text,CANTIDAD.Text,VALORVENTA.Text,PRVENTA.Text,FECHAVENTA.Text])"
Utilizo visual basic 6 y access 2007
1 respuesta
Respuesta de santiagomf
1