on 08-18-2016 5:00 PM
Hi All,
I'm getting the following error message whenever I try to refresh my report and scroll to the next page to view the report data.
"The string is non-numeric"
The formula is as below:
If
(IsNull ({PRODUCTIVITY_LOG.PRODUCTIVE_HOURS})) Then 0
Else
ToNumber({PRODUCTIVITY_LOG.PRODUCTIVE_HOURS})
I get the error on the "ToNumber({PRODUCTIVITY_LOG.PRODUCTIVE_HOURS})" part of the formula.
Please note that the field "PRODUCTIVITY_LOG.PRODUCTIVE_HOURS" is of the datatype nvarchar(100) in a SQL Server database.
Any ideas on how to avoid this will be much appreciated.
Hi Nimish,
Modify the formula to:
If (IsNull ({PRODUCTIVITY_LOG.PRODUCTIVE_HOURS})) Then 0
Else if isnumeric({PRODUCTIVITY_LOG.PRODUCTIVE_HOURS}) Then
ToNumber({PRODUCTIVITY_LOG.PRODUCTIVE_HOURS})
Else 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 |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.