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

declaring arrays in vbscript

Status
Not open for further replies.

MartDawg

Programmer
Jan 14, 2004
33
US
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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top