Macro Language Reference > Macros > Database > dbrecno
  
dbrecno
Description
Get the number of the current position in the internal table.
 
Example 32. Get number of current position in table
dbrecno "Baskets"
^dbrecno=7
dbrecno "Baskets", "CurPos"
^CurPos=7
Syntax
table_name
Name of the internal table.
var_name
Optional script variable in which to to put the result.
Additional Information
Return values
^dbrecno or ^(var_name)
getvar 01916
 
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.