This page's ID: 12561
From: -Insane since: Jun 2002
hi. if i want to write a if statement in asp, and wan the write the null value, to i just put "" or "null" can i write it as if strFname = "" and strLname <> "" then {} or i have to put the word null? if strFname = "null" and strLname <> "null" then {} ? thanx<:} -
From: West Bloomfield MIInsane since: Aug 2001
test for empty string if variable = "" then 'do stuff end if test for null if isNull(variable) = True then 'dostuff end if requested form variables are always empty strings if blank, database values will probably be nulls
« Backwards — Onwards »