Set FormattedValue = CASE
When rg.ReferredFieldType = 'NUM' Then
I am generating a dynamic query, which is giving error.
Actually it requires integer value, while casting not a column name.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)