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

Populating a combo box using a Select Statement

Status
Not open for further replies.

Mattine

Programmer
Apr 11, 2001
25
US
I have one combo box: cboEmployee that I am using to create a report.

I am using this select statement: SELECT DISTINCTROW tblTasks.EmployeeAssigned FROM tblTasks UNION SELECT "*" from tblTasks ORDER BY tbltasks.EmployeeAssigned;

Does anyone know why, in runtime, the combo box won't populate with data? I can see the data, but it doesn't stay in the combo box after I choose it.

Thank-you for your help!
 
Just a guess but check your bound column. If I have 2 columns in my combo box and set the bound column to 3, I get the same results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top