ayuda con un arreglo
Publicado por aaron (2 intervenciones) el 12/02/2002 17:14:33
saludos colegas :
mi pregunta es la siguiente
trabajo con SQL 7 con VB 6 y ADO
asi que
tengo un recordset que tiene 47 campos y estos son de nombre diferente claro .. ahora bien
tengo una forma que contiene todos los texbox en arreglo
asi text1(0)= reg!codigo
text1(1)= reg!descripcion
text1(3)= reg!cantidad
y asi hasta llegar a text1(45)= reg!fecha
pero cuando lo ejecuto normalito es tener todos los
text1(xx) = reg!XXXX
text1(xx) = reg!XXXX
text1(xx) = reg!XXXX
text1(xx) = reg!XXXX
y asi hasta el 45
pero si existe un campo null me envia un error
COMO PUEDO HACER PARA QUE VALIDE TODOS LOS
TEXT1(0) HASTA EL 45 Y PONGA LOS CAMPOS EN EL LUGAR CORREXTO
DEL TEXTBOX CLARO PASANDO POR LA VALIDACION DEL null
COMO PUEDO HACER ESTO
GRACIAS
porfavor alguien ayudemeeee
mi pregunta es la siguiente
trabajo con SQL 7 con VB 6 y ADO
asi que
tengo un recordset que tiene 47 campos y estos son de nombre diferente claro .. ahora bien
tengo una forma que contiene todos los texbox en arreglo
asi text1(0)= reg!codigo
text1(1)= reg!descripcion
text1(3)= reg!cantidad
y asi hasta llegar a text1(45)= reg!fecha
pero cuando lo ejecuto normalito es tener todos los
text1(xx) = reg!XXXX
text1(xx) = reg!XXXX
text1(xx) = reg!XXXX
text1(xx) = reg!XXXX
y asi hasta el 45
pero si existe un campo null me envia un error
COMO PUEDO HACER PARA QUE VALIDE TODOS LOS
TEXT1(0) HASTA EL 45 Y PONGA LOS CAMPOS EN EL LUGAR CORREXTO
DEL TEXTBOX CLARO PASANDO POR LA VALIDACION DEL null
COMO PUEDO HACER ESTO
GRACIAS
porfavor alguien ayudemeeee
Valora esta pregunta


0