To start off, I know nothing about VBscript. I am using instructions I found on the internet, and trying to adapt them to my needs. I am writing a couple of asp's for database access from the web. I need to have a looping function from a user entered number to a user entered number. I currently have this:
do while From_Twp != To_Twp
-- Function --
From_Twp = From_Twp + 1
loop
Those of you who know vbscript probably are thinking " Of course it doesn't work" When I try to run it I get a VBscript error "Expected Statement" If you guys can tell me how to make this loop run that would be great!!
P.S. Sorry for the long post. [sig][/sig]
do while From_Twp != To_Twp
-- Function --
From_Twp = From_Twp + 1
loop
Those of you who know vbscript probably are thinking " Of course it doesn't work" When I try to run it I get a VBscript error "Expected Statement" If you guys can tell me how to make this loop run that would be great!!
P.S. Sorry for the long post. [sig][/sig]