stanmurphy
Technical User
- Oct 14, 2000
- 89
I'm wondering if there is an easier, 'better' method out there for processing a number of text boxes using VFP 7.0 SP1.
Say you have five text boxes on a form. Each box holds a name. They are Text1 through Text5. Currently I would use:
For countname = 1 to 5
STORE "thisform.text"+ALLTRIM(STR(countname))+".value" TO mNAMEHOLD
SEEK (&mNAMEHOLD)
** CODE
** CODE
** CODE
ENDFOR
Say you have five text boxes on a form. Each box holds a name. They are Text1 through Text5. Currently I would use:
For countname = 1 to 5
STORE "thisform.text"+ALLTRIM(STR(countname))+".value" TO mNAMEHOLD
SEEK (&mNAMEHOLD)
** CODE
** CODE
** CODE
ENDFOR