Subject Re: [IBO] TIB_UpdateBar problem ...
Author Geoff Worboys
> I modified my SQL and set the KeyRelation. I was happy:
> the update and insert buttons were enabled; the problem
> was that on the grid, it allowed me to get into the
> field but I just could navigate through it, not modify it
> ... as a read only field where the coursor can get in,
> but no change on the string can be done.
> What could it be?

Make sure the grid or transaction has not been set to ReadOnly.

TIB_DataSource.AutoEdit must be true if you want to be able to
initiate edit mode by simply typing into a field. Can you alter the
field if you hit the Edit button of the updatebar first?

Set IB_Query.ColorScheme := true so that you can get a visual
indication of whether the row you are trying to edit is in dssEdit
state or not. Then retry your tests. Are you getting into edit
mode - and it is only the field that is readonly - or are you not
getting to edit mode at all?


Geoff Worboys
Telesis Computing