FRAME-DB function
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Returns the logical database name of the database that contains any field in which the user-interface cursor is entered.
Syntax
|
The function requires no arguments. If the cursor is in a field that is not a database field, this function returns no value for the field.
Example
For each field being updated, this procedure displays the field name, the table the field belongs to, and the database in which the table exists. The EDITING phrase is part of the UPDATE statement; it displays information on the field as you update the record, and then reads each of the keystrokes entered (READKEY) and applies those keystrokes (APPLY LASTKEY).
r-frdb.p
|
Notes
- If the cursor is not in an enabled input field when the last input statement is executed, or the input field is not associated with a database field, FRAME-DB returns an empty string.
-
Use this syntax to find the name of a schema holder for a non-OpenEdge database:
SDBNAME ( FRAME-DB )
See also
DBCODEPAGE function, DBCOLLATION function, FRAME-FIELD function, FRAME-FILE function, FRAME-INDEX function, LDBNAME function, PROGRAM-NAME function, SDBNAME function