Functions.DbGoTop Method (Usual)
Move to the first logical record.
XSharp.RT (in XSharp.RT.dll) Version: 2.16
Syntax Request Example
uArea AS USUAL
) AS LOGIC
public static bool DbGoTop(
- Type: Usual
Specifies the work area name or number for a table on which the operation must be performed.
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 or by calling the overload that accepts a workarea
parameter (a workarea number or alias ).
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.
This example demonstrates the typical use of DBGoTop():