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

easy database question ?

Status
Not open for further replies.

chrislr5

MIS
Nov 20, 2002
5
US
can someone tell me the code to select a value from a DB and then store it in a variable. for example i have the sql code select supplierid from supplier where suppliername = 'name' then i need that value for an insert command, how do i store it?? Also how would you display the results in a combobox??

Thank you for any help you might offer.
Chris.

 

Part and Inventory Search

Sponsor

Back
Top