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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listing column names in combo box. How??

Status
Not open for further replies.

javanic

Programmer
Jun 18, 2003
13
US
Hi. I'm quite new to Access programming, so please bear with me.

I would like to fill a combo box with the column names contained in a table. The user would select a column name and then fill in a text box to create a query. How can I fill the combo box with just the column names/headings of a table?

Thanks in advance,

javanic
 
Hi javanic!

You can make the rowsource type Field List and the rowsource the name of the table you want to list from and Access will do the rest.

hth


Jeff Bridgham
bridgham@purdue.edu
 
Man, some things sure are easy! I wish it were all like that. Thanks.

javanic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top