Setting Null to date

O

Oded Kovach

Hello there

I have function that set date on date variable that return it by the
function

If no date should be set and i leave the date return value as it was on the
function the function returns 00:00:00 (leagel date on access and not on sql
server)

How can i return null value if no date should be returned?
 
D

Douglas J. Steele

What's the function?

In order to return a Null, the function must return a Variant, not a Date,
type.
 

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