troubleshooting Question

Invalid Use of NULL: CDATE

Avatar of sammySeltzer
sammySeltzerFlag for United States of America asked on
ASP
2 Comments1 Solution1458 ViewsLast Modified:
Greetings experts.

I am getting the following error when attempting to run the code below:

Microsoft VBScript runtime (0x800A005E)
Invalid use of Null: 'CDate'

It looks like there is a NULL date somewhere but I would like a workaround to the NULL date value.

Any ideas?

Thanks in advance



<td class="CTR"><%=ROUND( (DATE() - CDATE(RS("Setup_StartDate"))) / 30 )%></TD>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros