ASP Is Fun

Learning ASP
Free Course
Basics
Functions
SQL Commands
Sample Code


Servers / Setup
Host Reviews
Server Setup
Error Tips


Contract ASP
Development

Search For:


Intro to ASP


 


IsNull Variable Testing Function



Null values are different than just a blank string. They are actual EMPTY spots. You can't do most logical operations with a null value.

For example, if you have a TotalCount variable and it is set to NULL, you can't see if it is greater than zero or less than zero or anything else. It has no value, it is NULL. So you need to check for that before you start working with it.

The syntax, if you had a TotalCount variable, would be:

NoCount = IsNull(TotalCount)
if NoCount = TRUE then
response.write "you must enter the count value first."
end if

ASP Variable Testing Functions


Bookmark this site so you can reference it any time you have ASP questions in the future!




ASP Main Page | ASP Ebooks | Free ASP Course |
All content copyright Đ 2012 Minerva WebWorks LLC. All rights reserved.

Exploring Believability


Free Newsletter!

Ebooks
Intro to ASP
ASP SQL DB
Members
Shopping


Introduction to ASP

Thought Provoking
Video Games and Child Soldiers

Romance Tips
Irish Romance
Italian Romance
French Romance

ASP Poll
How do you handle 500 errors?
I don't
Page does nothing
Displays error
Emails error