I have a problem in Crystal, hope maybe you know the answer. When I test for null in Crystal using isnull(CBDate) it returns false, even if the value is null in the database. I think Crystal is doing something to date data type. Please advise. Thanks.
hi
Create a formula you can have N/A displayed or a blank space just replace "N/A" with " "
@ValidDate
if
isnull({your_date_field})
then
"N/A"
else
{your_date_field}
When a field is empty from the data base some times you don't know which value crystal read. In order to avoid this problem you should give a default value depending of the data type activating the option "Convert to NULL field value to default". This option is in File\Report Options .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.