Multiple parameters not working anymore since UniDac 6.2.10!

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

Multiple parameters not working anymore since UniDac 6.2.10!

Post by wjjw73 » Sat 06 Feb 2016 19:12

Hello!
In my SQLite Delphi 10 project multiple parameters are not working anymore.
Example:

Code: Select all

select * from table_a 
where (:para1 is null or field1 = :para1)
and (:para2 = 0 or field2 = :para2)
When param1 and param2 have the same field types it is working (sql statement is different for each of the cases of course...).
But if param1 is date and param2 is integer it is not working anymore -> no results.
Any idea??

Best regards,
Werner

wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

Re: Multiple parameters not working anymore since UniDac 6.2.10!

Post by wjjw73 » Mon 08 Feb 2016 07:28

I downgraded to version 6.2.9 - and it works as expected (as before).
So is it a bug or is there some design change needed in the code?

br,
Werner

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Multiple parameters not working anymore since UniDac 6.2.10!

Post by MaximG » Mon 08 Feb 2016 13:55

Thank you for the information. 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 your license number and the exact version of Delphi you are using. Please send your e-mail address to maximg*devart*com, in order for us to send you the night build.

wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

Re: Multiple parameters not working anymore since UniDac 6.2.10!

Post by wjjw73 » Sat 13 Feb 2016 07:23

Hello!

Sent you email for this nigh build.
When will it be ready?

Br,
Werner

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Multiple parameters not working anymore since UniDac 6.2.10!

Post by MaximG » Mon 15 Feb 2016 09:24

Sorry for delay. We will provide you a link to download a night build including the required changes within 2 days

wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

Re: Multiple parameters not working anymore since UniDac 6.2.10!

Post by wjjw73 » Fri 26 Feb 2016 15:38

Hello!

Still waiting for the email.

Best regards,
Werner

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Multiple parameters not working anymore since UniDac 6.2.10!

Post by MaximG » Mon 29 Feb 2016 15:18

A link to download the night build was sent to your email address

Post Reply