PDA

View Full Version : Visual Basic 6 Enterprise Edition and Combo box


Tech&ME
26-01-2006, 01:47 AM
Dear friends,

Can anyone tell me how can we make the data fields from a database appear in the Combo Box drop-down list at run time.


So, what i mean to say is, I want the entries in the Combo Box Drop Down list to be taken by VB from a ACCESS DATABASE TABLE directly at run time.

Please help me solve this problem.

I have tried several way to do this, and I am able to display the field data from the database but only the first record is shown, all other records are not shown at run time.

Please help

rajesh
26-01-2006, 11:25 AM
Try giving the Code u r using. We might be able to help.

Are you navigating through the recordset ?

siriusb
26-01-2006, 12:32 PM
You may want to see if this suits you:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/VB_Databases/Q_20814474.html

Tech&ME
26-01-2006, 07:37 PM
You may want to see if this suits you:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/VB_Databases/Q_20814474.html

Well! u forgot to mention that the site you are referencing to is a PAID site. So, in order to view the solution one has to sell out atleast $9.95 ? :?:

Could you please post the solution instead! (directly here)

siriusb
26-01-2006, 10:49 PM
^Did u scroll down at all? I am not a member but I can see the solution no problem.

Tech&ME
27-01-2006, 05:02 PM
^Did u scroll down at all? I am not a member but I can see the solution no problem.

Thanxs, problem was solved.

I modified the code as per my requirement and it works fine now.