set date as Null

hardy1976

Still learning...
Local time
Today, 00:13
Joined
Apr 27, 2006
Messages
200
Hi,

How do you set a date variable as null?!?

ie dim startdate as date

startdate = null

????

H.
 
You cannot. Only Variants can be Null.

Why?
 
Well thats why I cannot set them to null. will set to a fictious date... thanks.
 
you can set a date to 0 (dim intialises to zero)

you can set a field/control to null


date 0, is a date in 1899.
 

Users who are viewing this thread

Back
Top Bottom