on 04-18-2017 5:14 PM
Hi All,
I am writing below condition please check
If (condition='True') then FormatDate(CurrentDate();"MM-dd-yyyy")="NA" else FormatDate(CurrentDate();"MM-dd-yyyy")
But for true condition instead of 'NA' i am getting '0'.
Yes that would definitely come because the code where you say
FormatDate(CurrentDate();"MM-dd-yyyy")="NA"
The Compiler treats it as another condition where it checks if
FormatDate(CurrentDate();"MM-dd-yyyy")
is equals to NA or not which is not s it returns 0You need to adjust the code as
If (condition='True') then "NA" else FormatDate(CurrentDate();"MM-dd-yyyy")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.