La antigua historia
Publicado por DESTRUCTOR (1 intervención) el 28/12/2000 00:00:00
Estoy haciendo una base de datos con VB 1.0 para D.O.S al ejecutarla me
dice Error Type mismatch, este es el codigo con el error:
SUB CVender_Click ()
Ncelda = Ncelda + 1
Cliente.nombre = text1.text ´ *aqui ocurre el error
Cliente.apellido = text2.text
Cliente.edad = text3.text
Cliente.ci = text4.text
Cliente.direcion = text5.text
Cliente.telefono = text6.text
Cliente.numero = Form2.text1.text
Cliente.ventas.cantidad = Form2.text2.text
PUT #1, Ncelda, Clinete
END SUB
Todas las variables del tipo cliente son string
Intente agregando val(text1.text) y e ocurre lo mismo.
dice Error Type mismatch, este es el codigo con el error:
SUB CVender_Click ()
Ncelda = Ncelda + 1
Cliente.nombre = text1.text ´ *aqui ocurre el error
Cliente.apellido = text2.text
Cliente.edad = text3.text
Cliente.ci = text4.text
Cliente.direcion = text5.text
Cliente.telefono = text6.text
Cliente.numero = Form2.text1.text
Cliente.ventas.cantidad = Form2.text2.text
PUT #1, Ncelda, Clinete
END SUB
Todas las variables del tipo cliente son string
Intente agregando val(text1.text) y e ocurre lo mismo.
Valora esta pregunta
0