× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Heba Refaie wrote:

> I have a field on a display file that refers to
> db field of type date, when showing the
> screen for the first time the field will show
> 01/01/0001...

You have some good answers on how the display will work so I won't repeat
that advice.  What I will respond to is the 'null date field on screen' in
the subject line.  If the date field is truly null, you need to test it with
%nullind or a null map (depending on how you are retrieving the data.)  NULL
is not a data value like '01/01/0001', rather, it is an attribute of the
field which can be changed at run time.  If the field is NOT truly NULL
(that is, ALWNUL is not specified in the DDS) then you need to be aware that
the database design is using 01/01/0001 as a special value, which is when
MAPFLD is most useful.
  --buck




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.