
March 16th, 2013, 03:51 AM
|
|
|
|
Locate On Dbgrid
Hi
Is there anyway of selecting a FOUND record on a dbgrid
I have this code
Code:
dbggrid1.DataSource.DataSet.Locate('ClientNumber',eclientnumber.text,[]);
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.
Please help
Thanks
Last edited by icuras : March 16th, 2013 at 04:52 AM.
|