Empty Date

F

Frederick Chow

Hi all,

Just want to know if there are methods to assign an empty date (or null
value) to a date variable, just like I can assign and empty string "" to a
string variable. Thanks.

Frederick Chow
Hong Kong.
 
J

JE McGimpsey

AFAIK, no. As with other numeric variables, date data types are given an
initial value of 0.

If you use a Variant instead, you can assign Null to it.
 
F

Frederick Chow

Thanks a lot then.

JE McGimpsey said:
AFAIK, no. As with other numeric variables, date data types are given an
initial value of 0.

If you use a Variant instead, you can assign Null to it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top