problemas con insert
Publicado por Mari3 (38 intervenciones) el 17/06/2009 16:28:31
Hola... Necesito ayuda...
Tengo problema con el insert into me sale un error cuando intento guardar los datos que ingreso en los text... a lo mejor tengo un error en el código... espero que me puedan ayudar...
Este es mi codigo
rs.Open "INSERT INTO datos (pozo,estacion,ub,marca,modelo,fija,portatil,tipocorrea,protcorrea,stroker,celler,palanca,faja,bt,guaya,carrera,pintura,modelos,empaques,silla,cruceta,pines,marcame,serialme,potenciame,diametroeje,fijame,busingme,interno,externo,marcarc,serialrc,observacionrc,marcapc,serialpc,potenciapc,variadorpc,fechapc,observacionpc" _
&VALUES(" + Text1.Text + ",'"+ Text2.Text + "','" + Text3.Text + "','" + Text4.Text + "','" + Text5.Text + "','" + Text6.Text + "','" + Text7.Text + "','" + Text8.Text + "','" + Text9.Text + "','" + Text10.Text + "','" + Text11.Text + "','" + Text12.Text + "','" + Text13.Text + "','" + Text14.Text + "','" + Text15.Text + "','" + Text16.Text + "','" + Text17.Text + "','" + Text18.Text + "','" + Text19.Text + "','" + Text20.Text + "','" + Text21.Text + "','" + Text22.Text + "','" + Text23.Text + "','" + Text24.Text + "','" + Text25.Text + "','" + Text26.Text + "','" + Text27.Text + "','" + Text28.Text + "','" & Text29.Text + "','" + Text30.Text + "','" + Text31.Text + "','" + Text32.Text + "','" + Text33.Text + "','" + Text34.Text + "','" + Text35.Text + "','" + Text36.Text + "','" + Text37.Text + "','" + Text38.Text + "','" + Text39.Text + "'),
Tengo problema con el insert into me sale un error cuando intento guardar los datos que ingreso en los text... a lo mejor tengo un error en el código... espero que me puedan ayudar...
Este es mi codigo
rs.Open "INSERT INTO datos (pozo,estacion,ub,marca,modelo,fija,portatil,tipocorrea,protcorrea,stroker,celler,palanca,faja,bt,guaya,carrera,pintura,modelos,empaques,silla,cruceta,pines,marcame,serialme,potenciame,diametroeje,fijame,busingme,interno,externo,marcarc,serialrc,observacionrc,marcapc,serialpc,potenciapc,variadorpc,fechapc,observacionpc" _
&VALUES(" + Text1.Text + ",'"+ Text2.Text + "','" + Text3.Text + "','" + Text4.Text + "','" + Text5.Text + "','" + Text6.Text + "','" + Text7.Text + "','" + Text8.Text + "','" + Text9.Text + "','" + Text10.Text + "','" + Text11.Text + "','" + Text12.Text + "','" + Text13.Text + "','" + Text14.Text + "','" + Text15.Text + "','" + Text16.Text + "','" + Text17.Text + "','" + Text18.Text + "','" + Text19.Text + "','" + Text20.Text + "','" + Text21.Text + "','" + Text22.Text + "','" + Text23.Text + "','" + Text24.Text + "','" + Text25.Text + "','" + Text26.Text + "','" + Text27.Text + "','" + Text28.Text + "','" & Text29.Text + "','" + Text30.Text + "','" + Text31.Text + "','" + Text32.Text + "','" + Text33.Text + "','" + Text34.Text + "','" + Text35.Text + "','" + Text36.Text + "','" + Text37.Text + "','" + Text38.Text + "','" + Text39.Text + "'),
Valora esta pregunta


0