postgresql fetchall

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lao
Posts: 71
Joined: Wed 10 Dec 2008 10:56

postgresql fetchall

Post by lao » Thu 15 Nov 2012 15:58

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: postgresql fetchall

Post by AlexP » Thu 15 Nov 2012 16:40

Hello,

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

lao
Posts: 71
Joined: Wed 10 Dec 2008 10:56

Re: postgresql fetchall

Post by lao » Fri 16 Nov 2012 09:16

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: postgresql fetchall

Post by AlexP » Fri 16 Nov 2012 09:46

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;

Post Reply