Focal Point
Missing field value not picked up in using HDATE function

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4031019622

May 07, 2007, 03:17 PM
RFMM2
Missing field value not picked up in using HDATE function
I have the following define with takes a Date and Time date field and uses HDATE function to create just the date in the form YYMD ... when I test for the date being MISSING it does not show it as such ... when I use SET NA = YES on the print out shows it is MISSING field...

Is there some problem with the HDATE function and MISSING field values???
May 07, 2007, 04:22 PM
Leah
Your define did not show. I'm not familiar with HDATE, but if the value passed to it is missing then I'd say unexpected results - by missing, as in non-existent. And as the define is evaluated on each record coming through, then if the record is missing that element information it would still try to do something with the null data, what were you hoping to get back on 'missing'?


Leah
May 08, 2007, 09:43 AM
Kerry
Hi RFMM2,

Can you please upload the code for review?

Many thanks to Leah's help on this one. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.