March 16th, 2013, 03:51 AM
Locate On Dbgrid
Is there anyway of selecting a FOUND record on a dbgrid
I have this code
I find the client on the grid perfectly. But i want to select that record WITHOUT MANUALLY clicking on it. Ive tried setfocus.Selectedindex. I have no idea.
Last edited by icuras; March 16th, 2013 at 04:52 AM.
March 18th, 2013, 01:41 PM
Locate will set the first matched record as the current record, so not sure what the issue may be other than, possibly, your search isn't actually matching any records.