|
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 mailing list archive is Copyright 1997-2025 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.