Cannot implicitly add value to unidentified type.
In a report, I have created a total as average of a numeric field.
If Convert Null option is checked, everything works fine. When I unchecked it (the option that I need to use), I get the following error:
FastReport.Net v1.3.14
Cannot implicitly add value to unidentified type.
at FastReport.Variant.op_Addition(Variant subjectVariant, Object value)
Do you know what it means?
Thank you
If Convert Null option is checked, everything works fine. When I unchecked it (the option that I need to use), I get the following error:
FastReport.Net v1.3.14
Cannot implicitly add value to unidentified type.
at FastReport.Variant.op_Addition(Variant subjectVariant, Object value)
Do you know what it means?
Thank you
Comments
But it is not consistent with the aggregate functions of any database, including Ansi/ISO standards.
"Sum" function must ignore nulls, precisely it is one of the good features of working with null values.
I do not use "Convert null values" in any report, never. null does not mean 0, it means "unknown". If I use "Convert null values", then other functions as Average will not work correctly.
I would suggest to improve the sum function, ignoring null values. It would not affect your current specifications and it will be more consistent with the industry standards.
Thank you