Macro Language Reference > Macros > Database > dbskip
  
dbskip
Description
Move up or down in the table specified.
 
Example 35. Move up and down in table
dbskip "Baskets", 1 ^dbskip=1
Syntax
dbskip table name:s records_to_skip:n
table name
Name of the internal table.
records_to_skip
Number of rows to skip.
Additional Information
Return values:
^dbskip
1 - Success; 0 - Failed
getvar 01904
 
If the records_to_skip is positive then current position will be moved forward, negative - backwards. If you need to scan all rows in the internal table it is preferable to use dbskip then dbgoto - this macro is much faster especially on the big tables (>100 records).
 
It is worth noting that since support for Perl was introduced in version 7, it is possible to use various freely available Perl modules to perform various database activities if you are already experienced in or prefer to use Perl.