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

Error in ppConvertFieldType()

edited September 2014 in General
Hi,
I tested new version of SDAC and I got error "Could not convert variant of
type (UnicodeString) into type (Double)".

Finally I found out that error is in ReportBuilder in ppConvertFieldType().
If aFieldType = ftByte then Result = dtString.

The field is TINYINT, so it is ftByte. It was ftWord in older version of
SDAC, now it is correct ftByte.
But you don't count with ftByte in your code.

Regards
Roman Krupicka

Comments

  • edited September 2014
    Hi Roman,

    Thanks for reporting this. There is now a patch for RB 15.05 that adds
    support for TByte TField.DataType. Registered RB 15.05 developers can email
    support@ and request the patch.


    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.