TVirtualTable - problem with Master/Detail

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Rastislav
Posts: 15
Joined: Tue 03 Apr 2018 10:18

TVirtualTable - problem with Master/Detail

Post by Rastislav » Thu 21 Jun 2018 10:36

Hello,

I found problem in IBDAC 6.1.6 with Master-Detail relationship in Virtual tables.
Short sample : I have 2 Virtual tables M (master) and D (detail).

Code: Select all

M.First;
while not M.EOF do begin
  ... 
  D.First;
  while not D.EOF do begin
    !!!! <<<< here problem occured, D include not correct records (detailed to actual record of M)
    D.Next;
  end;
  M.Next;
end;
I am using more that Master/Detail pairs in my application and now I have big problems with newest 6.1.6 version.
I readed list of changes and I found one possible point :
"Now Detail dataset is not refreshed when Master dataset editing is started"
Maybe just here is any bug with refreshing of detail virtual table ...

Thank you in advance for ASAP solution ...

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: TVirtualTable - problem with Master/Detail

Post by MaximG » Thu 21 Jun 2018 12:05

Please test the described behavior using the latest version of IBDAC 6.1.7 (11-Apr-2018). In case the issue occurs with IBDAC 6.1.7, compose and send us the simplest full sample that reproduces it via the e-support form ( https://www.devart.com/company/contactform.html )

Rastislav
Posts: 15
Joined: Tue 03 Apr 2018 10:18

Re: TVirtualTable - problem with Master/Detail

Post by Rastislav » Thu 21 Jun 2018 13:04

Problem stay also on 6.1.7 ... Version 6.1.5 is OK ... Just I sent you sample application.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: TVirtualTable - problem with Master/Detail

Post by MaximG » Thu 21 Jun 2018 13:21

Thank you for the information. We have fixed the issue. This fix will be included in the next build of IBDAC.
We can send you a IBDAC night build including the fix. Please provide IDE version us via the e-support form ( https://www.devart.com/company/contactform.html ) and we will send you a night build.

Post Reply