Syntax: %db(rec,key)

returns the value of the key property of the given database record. A shortcut for this function is @rec.key which also returns the key value in the database variable rec. To retrieve a field from the current database record (%rec), you can either use %db(%rec,key), or %rec.key, or the shortcut &key where & is the current Database Variable set in the Special Characters.

Contents crtonl dbget