Visual Basic - ayuda con un arreglo

Life is soft - evento anual de software empresarial
 
Vista:

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

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:ayuda con un arreglo

Publicado por Fran (114 intervenciones) el 13/02/2002 02:22:34
Prueba a teclearlos de la siguiente forma :
text1(xx) = reg!XXXX & ""

Dime si resultó
Un saludo.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar