Macro Language Reference > Macros > Database > dbseek
  
dbseek
Description
Search for a value within a field on the internal table.
 
Example 34. Seek in table
dbseek "baskets","edit_by","Admin" ^dbseek=1
Syntax
dbseek table_name:s column_name:s value:s
table_name
Name of the internal table.
column_name
Column name to seek in.
value
Value being sought.
Additional Information
Return values
^dbseek
1 - Success, 0 - Failed
getvar 10903
 
The search will stop at the first occurrence it finds which becomes the array in the table. The search is case-sensitive.
 
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.