Hellos,
I'm tring to populate a listbox with items from a table space. The problem I'm having is dealing with duplicate items in the table being displayed in the listbox ( IE 75 Dell CPI's in the table become 75 individual option values in the listbox ). The select statement I'm using is below.
set oRs = oRsSWBI.Execute("select * from Workstation_Bios_Information WHERE SystemModel IS NOT NULL ORDER BY SystemName ASC"
Do While Not oRs.EOF
Response.Write " <OPTION VALUE='"&oRs("SystemModel"&"'>"&oRs("SystemModel"&"</OPTION>"
oRs.MoveNext
Loop
oRs.Close
Set oRs=Nothing
Any help with the correct statement would be greatly appreciated.
Thanks in advance.
I'm tring to populate a listbox with items from a table space. The problem I'm having is dealing with duplicate items in the table being displayed in the listbox ( IE 75 Dell CPI's in the table become 75 individual option values in the listbox ). The select statement I'm using is below.
set oRs = oRsSWBI.Execute("select * from Workstation_Bios_Information WHERE SystemModel IS NOT NULL ORDER BY SystemName ASC"
Do While Not oRs.EOF
Response.Write " <OPTION VALUE='"&oRs("SystemModel"&"'>"&oRs("SystemModel"&"</OPTION>"
oRs.MoveNext
Loop
oRs.Close
Set oRs=Nothing
Any help with the correct statement would be greatly appreciated.
Thanks in advance.