Set FormattedValue = CASE When rg.ReferredFieldType = 'NUM' Then CAST(#PointedMslValues.Value AS NUMERIC(18,cAST(rg.ReferredDecimalPoints) ) --more cases... END
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)