Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Field Caption Property from Another Table

Status
Not open for further replies.

safedir

Technical User
Sep 13, 2002
7
0
0
US
I have a survey table that uses the question number as the field name. I would like to set the caption property of each of the fields to the actual question. I have a table named Facility with two fields, Number and Question. Each Number is also a field name in a table named AllData. I want to use the corresponding Question as the caption for the field Number. I know I can copy and paste the information in the table design view, but this doesn't seem like it should be necessary.
 
You should be able to write code to do this fairly easily. Look into the tabledefs collection and tableDef object.

Jeremy =============
Jeremy Wallace
Designing, Developing, and Deploying Access Databases Since 1995

Take a look at the Developer's section of the site for some helpful fundamentals.


Remember to reward helpful tips with the stars they deserve.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top