on 03-30-2015 11:14 AM
Hi All,
I have a field total amount which is a string type.
This I need to pass as a shared variable and add to other value .
So i changed the datatype to number like this .
But when I run the report I am getting error 'A string is non numeric'
shared numbervar tot:=tonumber({totamt.total_amount});
Please help
Hi Divya,
Try:
If isNumeric({totamt.total_amount}) then
shared numbervar tot := tonumber({totamt.total_amount})
else
shared numbervar tot := 0;
-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 |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.