>myform.objects(1)
>myform.objects(2)
>.
>myform.objects(n)
>
>
>Where can I find the value "n" in the form? "n" should be a representation of the total objects store in the form (myform).
Gan,
You don't need the value of n, use a FOR EACH/ENDFOR loop. It's in the help file and it will iterate through a collection without telling it how many items are in the collection.
FOR EACH oCont IN Thisform.Controls
oCont.Name = oCont.Name + "123"
ENDFOR
Ed is right in that you must recursively process such objects as Grids, PageFrames, Pages, Containers, etc. because they contain objects inside of themselves.