
October 30th, 2009, 05:27 PM
|
|
Contributing User
|
|
Join Date: Jan 2008
Posts: 35
Time spent in forums: 14 h 9 m 59 sec
Reputation Power: 2
|
|
|
Goto nearest.
I have an access datatable in VS 2008
Dropped it on the form etc and have all the Adaptors etc.
I want to give the user the option to search the database and go to the nearest record for example by surname.
However I just want to search the table for the nearest match and position the cursor at that point in the datagrid. I do not want to do a select staement and return only those records that match the search query.
Delphi has a SETKEY and GotoNearest function. I am looking for something similar.
Help and advice would be very much appreciated.
|