Positions on the specified result row of the query. This row becomes the current row.
Caution: This function must be used during an SQLFirst/SQLCol browse of query result. For more details, see
Types of SQL browse.
// Modify the scrollbar
// Direct positioning according to the scrollbar value
SQLSeek("QRY", SCROLL_SCROLLBAR1)
Syntax
SQLSeek(<Query name> , <Row number>)
<Query name>: Character string
Name of the query created and executed with SQLExec, or executed with SQLExecWDR.
<Row number>: Integer
Number of the result row to select.
Remarks
- The SQL.Out variable is set to True if the row does not exist.
- The SQL.Current variable contains the number of the current row.