Move to the last logical record.
XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax View Source
FUNCTION VoDbGoBottom() AS LOGIC
public static bool VoDbGoBottom()
TRUE if successful; otherwise, FALSE.
VODBGoBottom() is the same as DBGoBottom(). This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded. The global structure, StrucErrInfo, will contain needed information regarding any error that occurs. See DBGoBottom() for more information.
The following example uses VODBGoBottom() to position the record pointer on the last logical record:
cLast := "Winston"
DBUseArea(TRUE, "DBFNTX", "sales", "sales", TRUE)
VODBOrdListAdd("lastname", NIL, NIL)
IF (Sales->Last == "Winston")
? "Record deleted: ", sales;
? "Unable to lock record..."