Page 1 of 1

Cannot set SpecificOptions

Posted: Sat 12 Jun 2010 05:50
by 99Percent
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

Posted: Mon 14 Jun 2010 12:29
by Dimon
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next UniDAC build.