GetFirst
Applies to
VAccess
Description
Attempts to retrieve the first record in the current index path and returns, as an Integer value, the PSQL status code.
Syntax
object.GetFirst [vLockBias]
The syntax for this method has the following parts:
 
vvLockBias
Remarks
This method attempts to retrieve the first record in the currently selected index path, set through the IndexNumber property, from the file associated with object. The status code for the operation will be returned by the method and set in the Status property of the control, a value of zero indicating success. A status of 9 indicates that there are no records in the current index path.
In Visual Basic, a GetFirst is required to populate a listbox or combo box.
Example
Orders.GetFirst
Orders.Init
Orders.GetNextExtended