Null Date Question

J

John Lane

How can I union two queries, one with valid dates and the other with null
dates and not get a type mismatch error? If I make the null date field an
empty string (ie., ""), it unions, but the software turns the dates into
strings. I want to keep it date type so it can be sorted by date. Thanks.
 
J

John Lane

Here's what I did:

Did an IsDate, and if true, did a DateValue, if false, inseted Null. Works
great!
 

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