Unix Time, Query criteria, and Null values

J

Johnny

Hi all,

I have a query that pulls from a remote Informix table
using the expression:
=(DateDiff("s",#01/01/70#,[Enter start Date])) And <=
(DateDiff("s",#01/01/70#,[Enter End Date]))

This allows me to convert the Unix time (#of seconds from
01/01/70 to now) and get the user to enter the date in a
recognisable format.

The problem arises when I need to pull all records should
the user input be blank.

Can anyone shed some light?

Many thanks in advance,

Johnny
 
M

MGFoster

Johnny said:
Hi all,

I have a query that pulls from a remote Informix table
using the expression:

=(DateDiff("s",#01/01/70#,[Enter start Date])) And <=

(DateDiff("s",#01/01/70#,[Enter End Date]))

This allows me to convert the Unix time (#of seconds from
01/01/70 to now) and get the user to enter the date in a
recognisable format.

The problem arises when I need to pull all records should
the user input be blank.

I replied to a post on this subject on this ng. The subject of the msg
was: "Parameter query on two fields." There you will find a solution
to your problem.
 

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