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

populate the contents of a list box by a MS SQL query?

Status
Not open for further replies.

Goha

IS-IT--Management
May 9, 2002
91
US
How do i populate the contents of a list box by a MS SQL query?

for example I want the list box to be populated by the listing of all the user tables in the database publisher....

Thanks in advance
 
if your recordset is called res you would do the following

Do Until res.EOF
lstResults.AddItem res!NAME
res.MoveNext
Loop


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top