I'm not clear when you are trying to do this. Perhaps in the Load event
of
the form, you would loop through the Controls collection of the form,
looking at the ControlType or testing if it has a StatusBarText, and then
assigning to the Caption of the attached label. The attached lable will
be
Controls(0) of the text box.
Thanks.
From this I would know how to set properties for the text boxes and other
data entry control, but how would I set the caption property of a
corresponding label?
Thanks, again.
I really appreciate the help.
This link demonstrates how to loop through the Fields of a TableDef,
getting
the Description property of each field that has one:
http://allenbrowne.com/func-06.html
If the table fields have descriptions at the time you create your
form,
Access automatically copies the description into the StatusBarText
property
of each control, so perhaps you could also read them from there?
I have several tables where I have entered the descriptions of each
field.
Can I write a routine for a bound form that would place a label
whose
caption = the field's description and a texbox whose data source = the
field?