Hello all,
Who can help me refresh my memory and my TDBGrids ?
I have two problems:
1) A read-only TDBGrid displays names etc., with a double-click you can
start editing the data for one person (another form). If I come back on the
form with the grid I do not see updated data, even if I try
DBGrid.Refresh or Table.Refresh.
2) Another read-only grid is linked to a query. If the user clicks soem
radio buttons, I close the query, change it, open it, and the new
selection appears in the grid. However, the scroll bar behaves very
strange: the thumb stays in the middle of the vertical scroll bar
far too long if I click in the scroll bar to go down.
The query contains an ORDER BY phrase, and that order does not
correspond with the primary key of the underlying Paradox table.
Could this be the case, and what is the workaround?
Again DBGrid.Refresh or Table.Refresh make no difference.
Tables/queries are simple, no lookups etc. (just a few calculated fields).
I'm talking Delphi 1 here, single user (but this has to be extended to a
multi-user app).
Thanks,
Jan
-----------------------------------------------------------------------
Jan Doggen Masters Software mass...@xs4all.nl
P.O. Box 697 2300 RA Leiden The Netherlands
-----------------------------------------------------------------------
** Specialists in multimedia software for education and presentation **
-----------------------------------------------------------------------
Usage of this email address for commercial purposes costs US$ 50 per
message. By using this email address you agree to this condition.
-----------------------------------------------------------------------