Move to the first logical record.
XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax View Source
FUNCTION DbGoTop() AS LOGIC
public static bool DbGoTop()
TRUE if successful; otherwise, FALSE.
By default, this function operates on the currently selected work area. It can be made to operate on an unselected work area by specifying it within an aliased expression.
DBGoTop() performs the same function as the GO TOP command.
Logical records: DBGoTop() operates on logical records. If the work area has an active order list, DBGoTop() moves to the first record in the controlling order. If a filter is set, only records which meet the filter condition are considered.
Shared mode: For a shared file, moving to a different record can cause updates to the current record to become visible to other processes. For more information, refer to "Concurrency Control" in the Programmer's Guide.
This example demonstrates the typical use of DBGoTop():