on 04-11-2016 7:50 PM
Hi!
Trying to replace a null value with text. Here's what I have, not working though..
If (isnull({DB.Field.1})
or ({DB.Field.1} ='')) then "VOID"
else
{DB.Field.1}
Maybe it's not working because the {DB.Field.1} is a date/time, i.e.: 4/11/16
?
Thanks!
Rich
Hi Rich,
Try changing the code to:
If (isnull({DB.Field.1})
or ({DB.Field.1} = cdate(0,0,0))) then "VOID"
else
{DB.Field.1}
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.