If Request.Form("software").Count > 0 then
For i = 0 to Request.Form("software").Count - 1
' Validate input before doing the next line!!!
strSQL = "INSERT INTO myTable (StnNo, Software) VALUES (" & i + 1 & ", '" & Request.Form("Software")(i) & "')"
objConn.Execute strSQL,,adCmdText+adExecuteNoRecords
Next
End If
HTH
Cheers
Ken
Microsoft MVP - Windows Server (IIS)
www.adOpenStatic.com