Visual Basic - La antigua historia

Life is soft - evento anual de software empresarial
 
Vista:

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.
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:La antigua historia

Publicado por Ptolomeo (4 intervenciones) el 29/12/2000 00:00:00
Put #1, RecordNumber, MyRecord
según el ejemplo :
PUT #1, Ncelda, Clinete

clinete no correspondería, debería ser cliente

espero que ese sea el error
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