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

ListView w/VBScript

Status
Not open for further replies.

LonniePurvis

Programmer
Sep 11, 2002
5
US
I would like to utilize the ListView to display a recordset. This recordset always returns 3 columns of data (ProductID, ProductName, ProductDescription). I have been able to create the ColumnHeaders but I can only fill in the first column of the ListView:

ListView1.ListItems.Add 1,,Recordset.Fields("ProductID").value

However, I cannot add to the SubItems (ProductName & ProductDescription columns). The SubItems property does not work in VBScript the way it works in VB.

Any suggestions?

Thanks,

Lonnie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top