General information
Category:
Coding, syntax & commands
>Dear Visual FoxPro users
>
>I want to to set a value property in a function.
>For example: I want to write "test" in 10 boxes
>with te names txtBox1,....., txtBox10
>
>FOR nNr = 1 TO 10
> cTxtbox = "thisform.txtBox" + nNr + ".value"
> cTxtbox = "test"
>endfor
>
>This code isn't working the way I want, but how do I do?
This code work
For cpt = 1 to 28
champ = "champ"+alltrim(str(cpt))
this.form2.multiplepages1.page1.&champ..value = this.FmPostI(cpt)
endfor
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only