• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

ASP question reading Null.

Jgtdragon

Diamond Member
Hi Guys,
I am trying to write an if condition with null.

Here is my If statements:

If apriority = "P1" and ahour > 5 then
Cellcolor = "Red"

The one about works.

But if I want to add in a new field, due Date, it won't work.

I tried the following and all don't work.

A)If apriority = "P1" and ahour > 5 and aduedate = null then
Cellcolor = "Red"

B)A)If apriority = "P1" and ahour > 5 and aduedate = "" then
Cellcolor = "Red"

C) A)If apriority = "P1" and ahour > 5 and aduedate =" " then
Cellcolor = "Red"

I am just trying to add another condition telling it that if the due date field is empty then make the color red.

Please tell me what I am doing wrong. Thanks


 
Back
Top