2
votes
Vote UpVote

How to Refresh a DBGrid without Losing the Current Row Position

About Delphi Programming – in Delphi TIPS :: When DBGrid is used to display data from a dataset (query or table), by design, after you call Refresh method on a dataset (re-open) (for example, using a DBNavigator), the current row position will be set to zero (first record). If you have been asking "Is there any way to reopen or refresh a query, leaving the TDBGrid data exactly where it is (without changing the positions)?" Here's one answer to the problem... Read the full article to learn how to Refresh DBGrid Data - Preserve Row Position. Related: Using the TDBGrid component Accessing protected members of a ...
Favorite? Off-Topic? 2010-09-16 07:00

Statistics

Visits: 1033
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Radosław Kokoć
ron_grove
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)