>>you don't have fields on the form you have objects which can be bount to
>>fields (or not)
>>
>>Arnon
Insofar as doing this after form instantiation (rather than during form design) Arnon's reply is key, Use an object reference to the form and go after the CONTROLS collection array:
For Each oControl in oMyForm.Controls
&& oControl will now enumerate each "field" in your form as an object reference to that control.
&& If you want to know what type of "field" it is, or what its name is, just reference oControl.BaseClass or oControl.Name
EndFor
also, oMyForm.ControlCount will tell you how many controls are on the form.
Previous
Next
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