Cannot set SpecificOptions

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
99Percent
Posts: 48
Joined: Tue 13 Sep 2005 05:34

Cannot set SpecificOptions

Post by 99Percent » Sat 12 Jun 2010 05:50

Hello

I am trying to set FetchAll to false in a TUniQuery component using the component editor. I can edit the specific options but when I click OK, it doesn't save changes (regardless of which option is edited).

If I programmatically insert the statement:

Code: Select all

UniQuery1.SpecificOptions.Values['FetchAll']:='False';
I get when component is created at runtime:

Code: Select all

Project raised exception class 'Exception' with message:
Invalid value: for option CommandTimeout
Even though program execution doesn't seem to actually reach the code that sets that option (??) I then have to delete the component and place it again or else I will always get that error regardless if I delete the program statement in the unit's source.

Lazarus 0.9.28.2 / UniDAC 3.00.0.8 / Windows XP / SQL Server 2000

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 14 Jun 2010 12:29

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

Post Reply