SMosley804
Technical User
DB=IBM DB2
Crystal Reports Developer v11
I have a field that stores values for various properties and those values contain both numeric and string values. I need to perform a calculation of the the numeric values and also return the string values as well
I've been playing around with a formula to accomplish this, but I receive the error: 'A string is required her'
My existing Fomula looks like this:
if not isnumeric(PropertyValue) then {PropertyValue} else
if isnumeric(PropertyValue} then
tonumber(PropertyValue)/1073741824
Is there another way that this can be done?
Ex.(current)
Group(Resource)--HDD0
Property PropertyValue
disk.size 73406611456
disk.model ST534CL2
(Needed)
Group(Resource)--HDD1
Property PropertyValue
disk.size 68.37
disk.model ST534CL2
Crystal Reports Developer v11
I have a field that stores values for various properties and those values contain both numeric and string values. I need to perform a calculation of the the numeric values and also return the string values as well
I've been playing around with a formula to accomplish this, but I receive the error: 'A string is required her'
My existing Fomula looks like this:
if not isnumeric(PropertyValue) then {PropertyValue} else
if isnumeric(PropertyValue} then
tonumber(PropertyValue)/1073741824
Is there another way that this can be done?
Ex.(current)
Group(Resource)--HDD0
Property PropertyValue
disk.size 73406611456
disk.model ST534CL2
(Needed)
Group(Resource)--HDD1
Property PropertyValue
disk.size 68.37
disk.model ST534CL2