Cannot set SpecificOptions
Posted: 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:
I get when component is created at runtime:
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
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';
Code: Select all
Project raised exception class 'Exception' with message:
Invalid value: for option CommandTimeout
Lazarus 0.9.28.2 / UniDAC 3.00.0.8 / Windows XP / SQL Server 2000