Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

Filling a two column combo box with VBA code

I have a table with two field in an MS Access 2003 database.  I would like to populate a two column combobox with the data from the table using VBA code.  How do I do that?
0
kshumway
Asked:
kshumway
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Set the combos ColumnCount=2, and ColumnWidths=1;1

Set the RowSource as "SELECT YourFirstColumn, YourSecondColumn FROM YourTable"
0
 
dqmqCommented:
Why VBA code?  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now