Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbGrid with Multiselect

Status
Not open for further replies.

Ballarmt

Programmer
May 24, 2001
1
US
As most of you know, there is a multiselect option with a dbGrid and when this is set to true the user can select mulitple records. Within the code, I need to use the Bookmark to find and work with the selected records. My problem is this: I need to do a check on the count for selected records and I need two separate sections of code for a count = zero and a count greater than zero. Is there a way to automatically 'select' the current record so I never have a count of zero or is there a third party dbgrid VCL that auto selects the current record upon entry into the form?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top