Print a field if it is not NULL

Hello,

I have a simple report, but in the database the date field have sometimes the value 31/12/1899, this is the NULL value for a date of the VCL.
Now when the field have that value a want to print only spaces or nothing.
How can I do this ?
Can i put some code behond the report in designmode or must I put some code in my appliation.
Thanks for the help.

Jan

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:27AM
    use the supplied iif function
    you can test for null in the expression portion of the function if you set engine option convert null to false.
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.