Subject Re: [IBO] TIB_Grid and editing
> I would like to ask a question about editing data in TIB_Grid. Suppose
> you have some rows with for example text fields displayed in a grid.
> Dataset is in browse mode, some cell with text in in is focused. Then I
> observed 2 situations:
> 1. When you type a key, then if AutoEdit is on, the content of the cell
> is not replaced with the typed key, but the key is appended to the end
> of the text. (The standard VCL Grid replaces the text immediately), but
> the second situation is pretty much worse:

I presume you mean that you want to edit a field that is
used in the KEYLINKS entry on the query?

Since IBO needs to know where the record is, changing that
value will cause problems. This is probably a case where you
actually want to use DB_KEY as the KEYLINKS entry. That
would not be displayed on the grid, and then all entries can
be modified without problem.

If you change the 'address' of the data, how will IBO know
to find it? The only way is to use something else, which is
one of the reasons DB_KEY exists ( I think <g> )

Lester Caine
L.S.Caine Electronic Services