other then that I would do a test such as
if year = "" then
if year then
_________________________________________________________
for the best results to your questions: FAQ333-2924
Is your question a most FAQ?? Find out here FAQ333-3048
Use a variable named aYear or sYear or even better form_year so you know what it is and where it should be coming from. This also avoids the reserved word conflict problem.
What I often do is:
year = Request.Form( "year" ) & ""
before the test
if year = "" then doSomething end if
This eliminates the problem of a null value for year in the form.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.