Question about my program can't find it
Form
Code:
Dim intteller As Integer
Dim strplaats(5) As String
Dim intpostcode(5) As Integer
For intteller = 0 To 5
strplaats(intteller) = InputBox(("Geef de plaats in waar je woont " & intteller + 1 & " in."), "Voer je plaatsnaam in")
If strnummerplaat(intteller) = "leuven" Then
strnummerplaat(intteller) = 0
intteller = 5
Else
intpostcode(intteller) = InputBox(("Geef de bijhorende postcode in " & intteller + 1 & " in."), "Postcode")
Next
Afdrukken
Code:
Rtxtwoning.Text = Rtxtwoning.Text & Space(25) & "Plaats" & Space(5) & "Postcode" & vbCrLf
For intteller = 0 To 5
Rtxtwoning.Text = Rtxtwoning.Text & "Woning " & intteller + 1 & Space(15) & strplaats(intteller) & Space(10) & intpostcode(intteller) & vbCrLf
Next
The meaning with this is when you type "leuven" it stops with the for next
that formally works
But, when you print it it shows "leuven" in the rtxtwoning.
I want that it doesn't show up anymore.
And that from this intteller(where leuven should be inputted) after this intteller, nothing will be displayed anymore
sorry for my broken english
Re: Question about my program can't find it
Welcome to the forums :wave:
Quote:
Originally Posted by
mr.ape
But, when you print it it shows "leuven" in the rtxtwoning
When you print what?
The screen?
The textbox itself?
Re: Question about my program can't find it