Could not convert variant of type (String) into type (Double)
FastReport 5.3.14 on Windows 10 with Delphi XE 10.2 Update 1
I'm running into an error when the code hits PrepareReport (which is a FR procedure so I can't see the source code).
The error is:
raised exception class EVariantTypeCastError with message 'Could not convert variant of type (String) into type (Double)'
Since I cannot Step Into the code, what are my options for debugging inside of FR code?
I need to see which field the error is occurring on.
Thanks in Advance...
I'm running into an error when the code hits PrepareReport (which is a FR procedure so I can't see the source code).
The error is:
raised exception class EVariantTypeCastError with message 'Could not convert variant of type (String) into type (Double)'
Since I cannot Step Into the code, what are my options for debugging inside of FR code?
I need to see which field the error is occurring on.
Thanks in Advance...
Comments
Are you using any math expressions or totals etc where FR would need to do that conversion? Or special numeric formatting?
Check my answer (user1300484) here: https://stackoverflow.com/questions/16225986/class-evarianttypecasterror-with-message-could-not-convert-variant-of-type-str/59857855#59857855