Subject | Walking again - through a dataset |
---|---|
Author | Steve Fields |
Post date | 2001-08-24T14:24:44Z |
Hi all,
Again I have a problem with a TIB_Query:
aTable.DisableControls;
aTable.Filter := 'Status = ''AC''';
aTable.Filtered := True;
aTable.First;
The last line puts me in insert or edit mode (?!?),
on the first record, when I am only trying to read
aTable. I need the table in a query because some
records are selected in a grid and only some of them
are updated for specific, changing situations. What
settings am I missing? Defaults on IB_Conn and IB_Tran.
(Query set to synch before, after edit and on inserts,
IB_Conn set Server Autocommit, read committed)
Thanks
Steve Fields
Again I have a problem with a TIB_Query:
aTable.DisableControls;
aTable.Filter := 'Status = ''AC''';
aTable.Filtered := True;
aTable.First;
The last line puts me in insert or edit mode (?!?),
on the first record, when I am only trying to read
aTable. I need the table in a query because some
records are selected in a grid and only some of them
are updated for specific, changing situations. What
settings am I missing? Defaults on IB_Conn and IB_Tran.
(Query set to synch before, after edit and on inserts,
IB_Conn set Server Autocommit, read committed)
Thanks
Steve Fields