Hi brunello, thank you very much for your comment.
Unfortunately this is not what I'm looking for. What you suggest is what I usually do, that is, reQuering the Database.
By using the TSQLQuery Filter property, no new Query will be made but instead the DataSet will just be filtered, that is locally done and spares a connection to the Database server.
As I stated on my first post, the Filter works correctly, at least with my test program wich is very simple, the problem is when I scroll the DBGrid by grabbing the DBGrid scrollbars I get this error message "SQLQueryMain : Could not find the requested record".
I created a test database with five columns, the first one as 'ID' (auto increment) and I generated 100000 (one hundred thousand) records.
When I apply a filter, let's say "COL2 <= 50000", I get a result of about 300 records displayed on the DBGrid. I can navigate using the DBNavigator buttons and using the mouse scroll wheel but I get the error stated above when I scroll the DBGrid by grabbing the DBGrid scrollbars.
When I look at the DBGrid Vertical Scrollbar after the filter is applied, and I got a result of 300 records out of 100000, I see that the scrollbar size stays the same when it should get bigger because there are far less records on the DBGrid.
Well, I hope the Gurus out there have a clue about this!
And again, thank you for your suggestion.