Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

convert variant error

edited March 2014 in General
Hi,

I'm running RB 14.04 with Delphi XE2 Update 4 Hotfix 1

I'm getting a 'Could not convert variant of type (UnicodeString) into
type (Double)' sometimes when trying to run a report.

The report uses JIT pipelines. There were 2 fields as Doubles (i.e.
pipelineField.DataType=dtDouble), but even changing these to string
fields (along with the GetValue code) I get the same problem.

The call stack refers to TppThreadedPageCache.ehExceptionTimer when I
build in the RB source. Not sure if this helps?

Can anyone point me in the right direction here?

Regards,
Steve

Comments

  • edited March 2014
    Hi Steve,

    Please upgrade to RB 14.08 and retest your application. If you still
    get the issue, I recommend downloading a trial of the latest version of
    ReportBuilder and testing with that.

    For upgrade instructions, contact info@digital-metaphors.com with your
    serial number and purchasing email address.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.