General information
Category:
Coding, syntax & commands
THISFORM.SetAll("Value", SomeVar, "TxtBox")
HTH
>I have some textboxes on a form.
>
>To fill them I do as follows:
>THISFORM.txtBox1.Value = && some variable or value goes here
>THISFORM.txtBox2.Value = && some variable or value goes here
>THISFORM.txtBox3.Value = && some variable or value goes here
>THISFORM.txtBox4.Value = && some variable or value goes here
>
>Can I do a set of commands like this instead? And what would the syntax be? The following example does not have valid syntax, but I think you see what I am trying to do:
>FOR i = 1 to 4
> THISFORM.txtBox(i).Value =
>ENDFOR
Previous
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