Icon GotoNearest Method

procedure GotoNearest

Usage

Call the GotoNearest method to position the table on the record that is either the exact record specified by the current search values, or on the first record whose values exceed those specified. The search is peformed using the active index. The IndexName or IndexFieldNames property specifies the active index. Before calling the GotoNearest method, an application must specify the search values by calling the SetKey or EditKey methods, which put the table into the dsSetKey state. The application then uses the FieldByName method to populate the search values.
Image