Error in ppConvertFieldType()
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
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
This discussion has been closed.
Comments
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