Page 1 of 1

Errors after changing SDAC from 6.9 to 6.10

Posted: Mon 09 Jun 2014 14:57
by Alexander_73
RAD Studio XE5.
After installing SDAC 6.10.19 (and 6.10.20) there are mass errors with message "Cannot convert type" on opening datasets in working projects. In a new demo project message reproduces with the Target Platform 64-bit Windows. After reinstalling on 6.9 problem doesn't reproduce. :(

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Mon 09 Jun 2014 15:29
by Alexander_73
After all, I have found property TMSQuery.Options.DefaultValues when true then raises this error. The project cannot work without this property, what I might do?

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Tue 10 Jun 2014 12:33
by azyk
Hello,

Thank you for the information. We have reproduced this problem and fixed it. This fix will be included in the next SDAC build.

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Wed 11 Jun 2014 06:34
by Alexander_73
There is one more problem in SDAC 6.9 and 6.10 I found now. An object of TVirtualTable, after adding FieldDef with type ftGuid, Studio raises exception "Invalid field size" on save project and modules can't be saved.

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Wed 11 Jun 2014 15:58
by azyk
Thank you for the information. We have reproduced the problem and will investigate it.

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Mon 18 Aug 2014 08:10
by Romano
Hi,
are you sure that error "Cannot convert type" is fixed in version 6.10.21?
It still persists...

Regards
Roman Krupicka

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Wed 20 Aug 2014 09:11
by ViktorV
We have fixed the bug related to the "Cannot convert type" error message in SDAC version 6.10.21.
If the issue still exists, please send a complete sample to support*devart*com to investigate it.

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Thu 25 Sep 2014 12:18
by Romano
Hi,
I found out that problem was in ReportBuilder. You change field's DataType from ftWord to ftByte for TINYINT (it is OK), but ReportBuilder has bad conversion to its own datatype (ftByte is missing).

Thanks
Roman Krupicka

Re: Errors after changing SDAC from 6.9 to 6.10

Posted: Fri 26 Sep 2014 09:45
by azyk
If you need to map the TINYINT data type as ftWord - you can sue Data Type Mapping. For example, in the dataset:

Code: Select all

MSQuery.DataTypeMap.AddDBTypeRule(msTinyint, ftWord);
More details about Data Type Mapping can be found in our online documentation: http://www.devart.com/sdac/docs/index.h ... apping.htm .

Note: to use the msTinyint constant, you have to add the MSDataTypeMap unit to the uses clause.