Sep 8, 2006 #1 DelphiAaron Programmer Joined Jul 4, 2002 Messages 826 Location AU can you select multiple records on a dbgrid by code not by clicking the grid ? Aaron Taylor John Mutch Electronics http://www.jme.com.au
can you select multiple records on a dbgrid by code not by clicking the grid ? Aaron Taylor John Mutch Electronics http://www.jme.com.au
Sep 28, 2006 1 #2 NuWood Programmer Joined Mar 14, 2002 Messages 44 Location GB You can use the TBookmarkList class. myDbGrid.SelectedRows.CurrentRowSelected := true; Just traverse your dataset and set the CurrentRowSelected according to your needs for the current record. regards Upvote 0 Downvote
You can use the TBookmarkList class. myDbGrid.SelectedRows.CurrentRowSelected := true; Just traverse your dataset and set the CurrentRowSelected according to your needs for the current record. regards