Difference between revisions of "BOF()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
|||
Line 32: | Line 32: | ||
[[Category:Table Basics]] | [[Category:Table Basics]] | ||
[[Category:Table Basics Functions]] | [[Category:Table Basics Functions]] | ||
+ | [[Category:Cursor Functions]] |
Revision as of 04:47, 7 December 2012
Purpose
Function to check if the record pointer is at the beginning of file
Syntax
BOF([<workarea | alias>])
See Also
ALIAS(), DBF(), EOF(), FOUND(), GOTO, SELECT, SELECT(), SKIP, USE
Description
The BOF() function returns .T. if an attempt is made to skip the record pointer before the first logical record of the currently selected table. If the optional <workarea | alias> is specified, then the function will operate in the required location.
Example
use orders ? bof() .F. skip -1 ? bof() .T.
Products
Recital Server, Recital