I am trying to do the below in part of my function..
keep getting
error '800a0402
Argument type must be an integer.
I heard you can't use variables as an argument for creating arrays in vbscript, anyone know any different? or a way around?
keep getting
error '800a0402
Argument type must be an integer.
I heard you can't use variables as an argument for creating arrays in vbscript, anyone know any different? or a way around?
Code:
Function displayRandomKeyProducts(rsJ, argProdCount)
intProdCount = Cint(argProdCount)
Dim aryProducts(intProdCount)