Move to the last logical record.
XSharp.RT (in XSharp.RT.dll) Version: 2.6
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:
1cLast := "Winston"
2DBUseArea(TRUE, "DBFNTX", "sales", "sales", TRUE)
3VODBOrdListAdd("lastname", NIL, NIL)
5IF (Sales->Last == "Winston")
6 IF Sales->(RLock())
8 ? "Record deleted: ", sales;
11 ? "Unable to lock record..."