>I have an array which I declare with Dim. That array size will be defined by a property. However, the Dim syntax does not allow us to pass anything else than an integer. For example, Dim laField(lnField,2) does not work. I need to put Dim laField(5,2).
I'm not sure if VBScript allows ReDim or not offhand, but you can do something like this:
Dim laField() As Variant
Redim laMyArray(lnField, 2)
Jay Shepherd