H hardy1976 Still learning... Local time Yesterday, 22:42 Joined Apr 27, 2006 Messages 200 Mar 9, 2012 #1 Hi, How do you set a date variable as null?!? ie dim startdate as date startdate = null ???? H.
spikepl Eledittingent Beliped Local time Today, 07:42 Joined Nov 3, 2010 Messages 6,134 Mar 9, 2012 #2 You cannot. Only Variants can be Null. Why?
H hardy1976 Still learning... Local time Yesterday, 22:42 Joined Apr 27, 2006 Messages 200 Mar 9, 2012 #3 Well thats why I cannot set them to null. will set to a fictious date... thanks.
gemma-the-husky Super Moderator Staff member Local time Today, 06:42 Joined Sep 12, 2006 Messages 16,075 Mar 9, 2012 #4 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.
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.