clUnknown is not clear value

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
halenpolen
Posts: 31
Joined: Sun 27 Jun 2010 20:50

clUnknown is not clear value

Post by halenpolen » Sat 30 Oct 2010 13:55

Hi i used this demo
Demos\Win32\Miscellaneous\FailOver,

when I open tquery,kill session,then I moved cursor quMaste to the next record,
Tuniconnection call ConnectionConnectionLost Event
But the value ConnLostCause always set to clUnknown ??
is it a bug?? Can Devart team change it to clRefresh . Because clUnknown is not clear value Thx

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

Post by AlexP » Tue 02 Nov 2010 11:01

hello,

Please specify your database name.
Also please check of the value the ConnLostCause variable after executing the following operations: open, refresh, etc.

halenpolen
Posts: 31
Joined: Sun 27 Jun 2010 20:50

Post by halenpolen » Tue 02 Nov 2010 13:56

[quote="AlexP"]hello,

Please specify your database name.
Also please check of the value the ConnLostCause variable after executing the following operations: open, refresh, etc.[/quote]

MSQLSERVER 2008,
I set quDetail.Options.LocalMasterDetail:=false;
I tried to move next record table master, to see table detail (refresh the table detail with move cursor the master) ,
but when I debuging the value ConnLostCause is clUnknown

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

Post by AlexP » Wed 03 Nov 2010 14:24

Hello,

We have reproduced the problem.
It will be fixed in one of the next builds.

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Tue 16 Nov 2010 10:33

Hello

We fixed the Datail dataset refreshing after connection loss in the LocalFailover mode. This fix will be included in the next UniDAC build.

Post Reply