I need to declare an array in vbscript...
The number of elements in an array will be the value of a recordset that comes back...
Here's my code. It doesn't like the last line. Any hints?
dim count
gettypecount="select count(*) from Sometable"
set thecount=conn.execute(gettypecount)
count=thecount(0)
Dim CompType(count)
The number of elements in an array will be the value of a recordset that comes back...
Here's my code. It doesn't like the last line. Any hints?
dim count
gettypecount="select count(*) from Sometable"
set thecount=conn.execute(gettypecount)
count=thecount(0)
Dim CompType(count)