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

Populate a List Box from recordset

Status
Not open for further replies.

besto1a

Programmer
Aug 20, 2006
41
0
0
GB
Does anyone know how to Populate a list box with the contents of a record set that has 5 columns

Thanks
 
since ac2003:
Set [your list box].Recordset = yourRecordset

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Or...

strRowSource = rec.GetString(adClipString,";",";")

Me.lstBox.RowsourceType = "Value List"
Me.lstBox.Rowsource = strRowsource
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top