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!

Accessing Data using the DataCombo box

Status
Not open for further replies.

TheOneRing

Programmer
Feb 27, 2002
8
AU
Gedday,
I have a datacombo box that is filled with customer names from a dataenvironment command. What I want to know is there any eay way to retrieve the relevant data from this control without have to search the whole table to find the match.

i.e. I select say John Smith in the list. Now I want to get his address and phone number etc. At the moment I use a while do....loop to search through the whole table to find the match and then extract the data I want. Is there any easier way.

Help Would be much appreciated.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top