>>ADIR(laForms,*.scx)
>>FOR i = 1 TO ALEN(laForms)
>>USE (laTables[i]) IN 0
>>REPLACE ALL class WITH newtextbox FOR class = oldtextbox
>>REPLACE ALL classloc WITH newloc FOR classloc = oldloc
>>USE IN (laTables[i])
>>ENDFOR
>
>I assume this is just a typo in your post, and that your actual code used the same array name everywhere, not ADIR to laForms then USE (laTables[i]), and also hopefully it was USE (laForms[i,1]) ...
>
>Cheers,
Also, there is a
USE in 0
followed by REPLACE ALLs that may or may not have the right work area selected.
But I assumed this was a mistake that wasn't used in the real code too.
Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC