I can't display ROWID in TCRDBGrid

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
[email protected]
Posts: 27
Joined: Fri 12 Feb 2010 07:44

I can't display ROWID in TCRDBGrid

Post by [email protected] » Wed 16 Feb 2011 18:10

Hello.

I create query like this : "SELECT rowid, name FROM table" in TOraQuery which is connected with TCRDBGrid by TOraDataSource.
Problem is that I can't see column "ROWID" in grid, only "NAME".
Can you tell me what I'm doing wrong?

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

Post by AlexP » Thu 17 Feb 2011 09:13

Hello,

Thank you for the information.
We have reproduced the problem.
We will investigate the possibility of changing this behavior in one of the next builds/versions.

Now you can use the following workaround - set the Visible property to true like:

OraQuery1.FieldByName('rowid').Visible:= true;

[email protected]
Posts: 27
Joined: Fri 12 Feb 2010 07:44

Post by [email protected] » Sun 20 Feb 2011 11:42

A workaround works. Thank you for your help.
I'm waiting for new version of ODAC.

Post Reply