I'm trying to pass an incrementing value through a loop of forms. But I keep running into a type mismatch, here's the deal.
I have two variables
varLoopNum and classNumber
varLoopNum is a hidden field that contains a 0 to start with, classNumber is just a variable, that is trying to contain the current varLoopNum value literally classNumber = varLoopNum
they have both been initalized as = 0. But I still get a type mismatch. Is there anyway to make them an integer, I do know that vbscript just uses variants, but there has got to be a way to force types.
I have two variables
varLoopNum and classNumber
varLoopNum is a hidden field that contains a 0 to start with, classNumber is just a variable, that is trying to contain the current varLoopNum value literally classNumber = varLoopNum
they have both been initalized as = 0. But I still get a type mismatch. Is there anyway to make them an integer, I do know that vbscript just uses variants, but there has got to be a way to force types.