on 10-19-2006 4:23 PM
Hi All,
My requirement is souce field format(MM/dd/YY) convert it to target field format(dd-MM-yyyy). I used Date Trans function to achieve the same. The problem is some times the source field may not contain any value. So, I tried exists function some thing like this.
src>exists>input to if functon
src>dateTrans>input to then part of if function.
constant(blank)-->input to else part of if function
Output of if function-->target field.
The problem here is if the the input field is empty, again it is exeuting the DateTrans function and error"Unparsable date".
Pls let me know where I am going wrong...
Thanks & Regards,
Jai Shankar.
Hi,
Please add additional condition which will check if source field is blank.
(src>exists) and [not (src equals "")]>input to if functon
src>dateTrans>input to then part of if function.
constant(blank)-->input to else part of if function
Regards,
Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check out If-with-Else logic funtion and in the else part pass just constant value as Prakash mentioned.
Also alternative way is to do user defined java function as you know.
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.