Im a PHP developer and I officially HATE ASP
why does my code give me this error?
ERROR:
"Microsoft VBScript runtime error '800a0009'
Subscript out of range
/synergy/docs/ProductionRepor ts.asp, line 42 "
CODE:
why does my code give me this error?
ERROR:
"Microsoft VBScript runtime error '800a0009'
Subscript out of range
/synergy/docs/ProductionRepor ts.asp, line 42 "
CODE:
Code:
DIM sql: sql = conn.Query("SELECT cmp_name, cmp_code FROM cicmpy")
DIM i
i=1
DO WHILE i<10
DIM cmp_name: cmp_name = sql(i)
response.write(i & ". " & cmp_name & " - <br /><br />")
i=i+1
LOOP
Comment