Image

Imagexterminal wrote in Imagesqlserver 😡frustrated

Listens: Elhaz, "Blessed"

VBScript again...

Gah, I hope this is my last question on this bit...

(quick refresher: this is an ActiveX script in a DTS package.)

Okay, I'm getting errors with the following seemingly very simple lines of code:
dim recordnum
set recordnum = 0
This gives me the following error:
object required: '[number: 0]'

Tried changing it to:
dim recordnum
set CInt(recordnum) = 0
and got a type mismatch error.

So I went with the absurd:
dim recordnum
set recordnum = CInt(0)
and got
object required: 'CInt(...)'

very confused. Only thing I've been able to find on the net is that Windows Script Host is not installed; my network guy swears it is.

Anyone know anything else it might be? Thanks.