Subject | Re: [IBO] TIBGrid Question |
---|---|
Author | Helen Borrie |
Post date | 2003-04-18T06:03:27Z |
At 01:32 AM 18/04/2003 -0400, you wrote:
DB_Key is appearing in your output set because your table has no primary
key. It can't be used to make your output set updatable; but it will be
OK if your query is just for reading.
To make ANY ib_query column invisible in the ib_grid, just go into the
Fields Editor, prepare the query, go to the Field Properties tab, select
the DB_KEY column and set its VISIBLE property to False.
Helen
>I am using a TIBGrid in conjunction with TIBQuery. I am Querying for NameAssuming you are using TIB_Query and TIB_Datasource, not TIBQuery...
>and Pin number using the TIBQuery. I bind the TIBQuery to the TIBDatasource
>and bind the TIBDatasource to the TIBGrid.
>
>The problem is that I get an extra field showing up in the grid called 'DB
>KEY'. Does anyone know what this is and why it is showing up and how I can
>make it not visible.
DB_Key is appearing in your output set because your table has no primary
key. It can't be used to make your output set updatable; but it will be
OK if your query is just for reading.
To make ANY ib_query column invisible in the ib_grid, just go into the
Fields Editor, prepare the query, go to the Field Properties tab, select
the DB_KEY column and set its VISIBLE property to False.
Helen