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

how to display all DB field values into the ListBox

Status
Not open for further replies.

nastoskiigor

Technical User
Oct 21, 2003
5
SI
Hi!
I' m working on project that include programming in Borland C++ Builder. I'm trying to make a database application, but I found myself in trouble. Some time ago, while I was going through a help file, I saw a function that display all values of certain DB field (for examle field ½CustNo½) into the ListBox component, but I can't find it now.

Can you help? (Was it something with LoadFrom... or CopyFrom...?)

ListBox1->Items->LoadFrom...Table1->FieldByName("CustNo");
CopyFrom...Table1->FieldByName("CustNo");

Thanks!
Igor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top