Page 1 of 1

postgresql fetchall

Posted: Thu 15 Nov 2012 15:58
by lao
hi,
provider:postgresql.
with the last build of unidac(4.5.10) when i open a query specificoptions, change fetchall to false, close specificoptions window.
when i reopen it again fetchall is become true.
impossible to change it.
regards

Re: postgresql fetchall

Posted: Thu 15 Nov 2012 16:40
by AlexP
Hello,

Thank you for the information.
We have already fixed the problem.
This fix will be included in the next build.

Re: postgresql fetchall

Posted: Fri 16 Nov 2012 09:16
by lao
hi,
is it possible to tell me what's i need to change(i have the src code of unidac 4.5.10).
i need this fonctionality for converting my code.
thanks

Re: postgresql fetchall

Posted: Fri 16 Nov 2012 09:46
by AlexP
Hello,

To fix the problem, you should correct the TUniSQLOptionsFrame.DoFinish method in the UniSQLOptionsFrame module as follows:

Code: Select all

procedure TUniSQLOptionsFrame.DoFinish;
begin
  FOptionsFrame.Finish;  //<------add a line
  Modified := FOptionsFrame.Modified;
end;