|
Moves the record pointer of the database with NAME alias a specific number of records (ROWS) forward or backward relative to its current position. If NAME is omitted, the record pointer for the primary database is moved.
If the database is not indexed, the pointer moves according to physical record number. If the database is indexed, the pointer moves according to the index order. Attributes
Examples<MvSKIP> is typically used within loops to sequentially access file records. In this example the employees database is exported in indexed order. Example:<MvOPEN NAME="employees" DATABASE="{ g.path $ 'workers.dbf' }" INDEXES="emp_name.mvx"> <MvWHILE EXPR = "{ NOT employees.d.eof }"> <MvEXPORT FILE = "{ l.flat_employees_file }" DELIMITER = "{ l.tab }" FIELDS = "{ l.fieldlist }"> <MvSKIP NAME = "employees" ROWS = "1"> </MvWHILE> <MvCLOSE NAME = "employees"> |