Macro Language Reference > Macros > Database > dbfldget
  
dbfldget
Description
Retrieve the value from a field in the internal table.
 
Example 24. Example of <dbdfldget>
dbfldget "Baskets","owner"
^dbfldget=CNM
dbfldget "Baskets","owner","value"
^value=CNM
Syntax
dbfldget table_name:s field_name:s var_name:s
table_name
The internal table name.
field_name
Name of the field in the table.
var_name
Optional script variable to store the value.
Additional Information
Return values:
^dbfldget or ^(var name)
getvar 01925
 
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.