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!

How can a combobox handle record from a database

Status
Not open for further replies.

fireballs

MIS
Nov 4, 2003
3
0
0
CA

Dear Experts,

How can a combobox handle record from a database? when i click the dropdown arrow of the combobox, i want to show the records of the filedname FName.

How can i do this. Please help me! Very Urgent!

My .mdb file is in drive "C:van.mdb" which contains FName as a field name.
 
Hai,

Its very easy. You just a declare a recordset and assign the field fhname to the recordset. Then by using the additem method (Using for loop), add each record in the combo box.

Brits
 
Try using a DataCombo component instead of a plain combo box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top