Page 1 of 1

I can't display ROWID in TCRDBGrid

Posted: 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?

Posted: Thu 17 Feb 2011 09:13
by AlexP
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;

Posted: Sun 20 Feb 2011 11:42
A workaround works. Thank you for your help.
I'm waiting for new version of ODAC.