COMO LE HAGO?
Publicado por Carlos (55 intervenciones) el 14/09/2001 17:34:38
HOLA, YO TENGO 3 ARREGLOS CON EL MISMO NUMERO DE ELEMNTOS ENTONCES NECESITO RECORRERLOS AL MISMO TIEMPO PARA MANDARLOS A UNA BASE DE DATOS ASIÇ
For I = LBound(arreglo1) To UBound(arreglo1) Conexion.Execute "INSERT INTO ventas(producto,venta,cantidad) VALUES ('"&arreglo1(I) &"','"&arreglo2(I) &"','"&arreglo3(I) &"')"
Next
el problema es que me dice ] Field 'ventas.cantidad' cannot be a zero-length string.
osea que no esta recorriendo los otros arreglos, como le hago? GRACIAS POR SU ATENCION
For I = LBound(arreglo1) To UBound(arreglo1) Conexion.Execute "INSERT INTO ventas(producto,venta,cantidad) VALUES ('"&arreglo1(I) &"','"&arreglo2(I) &"','"&arreglo3(I) &"')"
Next
el problema es que me dice ] Field 'ventas.cantidad' cannot be a zero-length string.
osea que no esta recorriendo los otros arreglos, como le hago? GRACIAS POR SU ATENCION
Valora esta pregunta


0