"Invalid Row Number" error with TIBCLoader on unidirectional dataset

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Bjarke_Moholt
Posts: 39
Joined: Thu 21 Nov 2013 12:51

"Invalid Row Number" error with TIBCLoader on unidirectional dataset

Post by Bjarke_Moholt » Mon 19 Oct 2015 12:19

Using IBDAC 5.5.17 on Delphi XE, I experience an "Invalid Row Number" error when I use the TIBCLoader to load a dataset obtained from a TIBCQuery. On further investigation, it turns out the error only occurs when loading from a unidirectional TIBCQuery.

A quick search on the forum leads me to a similar result, is this error a known issue and what is ETA on a solution?

Bjarke_Moholt
Posts: 39
Joined: Thu 21 Nov 2013 12:51

Re: "Invalid Row Number" error with TIBCLoader on unidirectional dataset

Post by Bjarke_Moholt » Mon 19 Oct 2015 12:27

for reference, here's my procedure for setting unidirectional and related properties:

Code: Select all

procedure setUniDirectional(iUnidir: boolean);
begin
  FIBCQuery.UniDirectional := iUnidir;
  FIBCQuery.FetchAll := not iUniDir;
  FIBCQuery.Options.CacheBlobs := not iUniDir;
  FIBCQuery.Options.DeferredBlobRead := iUnidir;
end;

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: "Invalid Row Number" error with TIBCLoader on unidirectional dataset

Post by ViktorV » Mon 19 Oct 2015 14:48

Yes, we know about this issue, and are now fixing it. As soon as we release a build with this bug fix, we will let you know.

Post Reply