[Zope] Checking for nulls in a date/time field

Michael michael@nichestaffing.com
Wed, 30 Oct 2002 12:31:22 -0700


On Wednesday 30 October 2002 12:21 pm, McDonnell, Larry wrote:
> Hi,
>
> I thought I saw this before but I am having difficulty in findin gthis
> answer. I use MS Access and can save the dates in their date/time format.
> But if the field is empty (close_date) and I populated with a Null, how do
> I find it?
>
> I used this-
>
> <dtml-if expr="verify_close_date=='Null'"> and I tried this <dtml-if
> expr="verify_close_date==' ' ">.
>
> I'm just looking for a pointer, thanks.
>
>Try <dtml-unless expr="verify_close-date"> That will catch a null field