Icon GotoKey Method

function GotoKey: Boolean


Use the GotoKey method to move to a record specified by search values assigned with previous calls to the SetKey or EditKey methods. The search is peformed using the active index. The IndexName or IndexFieldNames property specifies the active index. If the GotoKey method finds a matching record, it positions the table on the record and returns True. Otherwise the current table position remains unchanged, and GotoKey returns False.