Page 1 of 3

Cannot convert <type1> to <type2>

Posted: Mon 16 Jul 2018 20:36
by felixbcastillo
I had version 7.2.7 and everything worked fine...

Now after these new versions after 7.2.7 and using VirtualQuery, with no change, I get error:
"Cannot convert varChar to Currency"

I turned back to version 7.2.7 and everything works fine again...

Re: Cannot convert <type1> to <type2>

Posted: Tue 17 Jul 2018 06:59
by MaximG
Please describe the issue in more detail. Compose and send us a small sample, the execution of which causes the issue. This is convenient to do using the e-support form ( https://www.devart.com/company/contactform.html )

Re: Cannot convert <type1> to <type2>

Posted: Wed 01 Aug 2018 02:11
by felixbcastillo
Any news?

Re: Cannot convert <type1> to <type2>

Posted: Wed 01 Aug 2018 05:20
by MaximG
We have reproduced the problem and fixed the bug. The fix will be included in the next UniDAC build. Currently, we can send you a night build of UniDAC with the fix. For this, please specify the exact version of Delphi you are using via the e-support form (https://www.devart.com/company/contactform.html)

Re: Cannot convert <type1> to <type2>

Posted: Mon 13 Aug 2018 21:38
by felixbcastillo
Please send me the "night build" because I have downloaded the ones added recently and the problem persists...

Re: Cannot convert <type1> to <type2>

Posted: Wed 15 Aug 2018 13:58
by MaximG
Please specify the exact version of Delphi and the license number you are using via the e-support form (https://www.devart.com/company/contactform.html)

Re: Cannot convert <type1> to <type2>

Posted: Fri 17 Aug 2018 20:23
by felixbcastillo
I downloaded the recent files you sent links for and it still does not work!

Returning back to version 7.2.7

How bad...

Re: Cannot convert <type1> to <type2>

Posted: Mon 20 Aug 2018 09:43
by Stellar
We sent you the night build of UniDAC. Please check whether there is this issue on the night build of UniDAC and let us know about the results.

Re: Cannot convert <type1> to <type2>

Posted: Tue 21 Aug 2018 04:21
by felixbcastillo
Yes, there is an issue, the problem persists!

Steps:
1) Create a multi device application
2) Insert a VirtualTable and add 3 fields (string, currency, float) and open/activate it
3) Insert a VirtualQuery, link to the VirtualTable and the following SQL Text:
SELECT SUM(Field2) Field2, SUM(Field3) Field3 FROM VirtualTable1
*The resulting fields will be MEMOS (I do not understand why) so you have to convert them to currency

AND PUFF!!!!

or download a/my sample from:
https://mega.nz/#!FYk0CSzK!Zeg9gdjQNCwJ ... _DAYqSUrm8

Versions 7.2.7 (and previous) work fine
Versions 7.3.8 (and over) fail

Re: Cannot convert <type1> to <type2>

Posted: Tue 21 Aug 2018 09:08
by Stellar
We sent you an email with the link to download the night build of UniDAC from 19.08.2018 (unidac73d25pro_19_08_2018.exe) where the issue with type conversion is fixed. When using the night build of UniDAC from 19.08.2018, you sample is working without errors.
Probably, you installed an earlier version of UniDAC. To solve the problem, try to perform the following steps:
- close Delphi;
- uninstall UniDAC;
- install UniDAC from the distribution unidac73d25pro_19_08_2018.exe;
Please follow our recommendations and inform us about the result.

Re: Cannot convert <type1> to <type2>

Posted: Tue 21 Aug 2018 13:51
by felixbcastillo
I followed your steps and the problem still persists...

Unsupported data type mapping: "String" to "Currency".

Re: Cannot convert <type1> to <type2>

Posted: Thu 23 Aug 2018 10:06
by Stellar
Thank you for the information. We have fixed the issue, and the fix will be included in the next UniDAC build.
In the shortest time, we will send you the night build of UniDAC.

Re: Cannot convert <type1> to <type2>

Posted: Fri 24 Aug 2018 23:58
by ertank
Stellar wrote: Thu 23 Aug 2018 10:06 Thank you for the information. We have fixed the issue, and the fix will be included in the next UniDAC build.
Hello,

Is there any planned release date for next UniDAC version?

Thanks & regards,
Ertan

Re: Cannot convert <type1> to <type2>

Posted: Mon 27 Aug 2018 14:57
by felixbcastillo
No reply
No estimate date
No night build

I will still be waiting, you have a nice service support and great components!
Please, just be on our side and understand us. Thank in advance!

Re: Cannot convert <type1> to <type2>

Posted: Tue 28 Aug 2018 12:41
by MaximG
The links for downloading the night builds, which include the required changes were sent to your email