Hi!
I'm a portuguese school teacher that uses vb 6.0.
The error mentioned occurs here **:
Public Sub introduz()
i = 0
Do While i <= 20
VF.Nr(i) = Val(InputBox("Introduza o numero de cliente", "Numero de cliente")) **
VF.NomeCliente(i) = InputBox("Introduza o nome do cliente", "Nome do cliente")
If VF.NomeCliente(i) = ("XYZ") Then
Exit Do
End If
VF.Dt(i) = InputBox("Introduza a Data da Factura", "Data da Factura")
i = i + i
Loop
End Sub
That's an array defined with public statement that uses an type structure also defined with public statement.
Can anyone help me
My students say thanks!!