I HAVE A FORM WITH eg. 4 TEXTBOXES.
Their names are Text1,Text2,Text3,Text4
I need to be able to display a message in them - set their .VALUE = msg.
I have a form level metod called UPDTTXT
LPARAMETERS TXTPASSED,BOXNO
bb = "ThisForm.Text"+ALLTRIM(STR(BOXNO))+".Value = '"+TXTPASSED+"'"
&bb
* This is the only way I can address any text box - by using a macro.
So to display text in Text3, I call
ThisForm.updttxt("Box Three",3)
Is there a better way of doing this OTHER than using MACROS??
Thanks
Bernard