FRAME-VALUE function
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
During a data entry statement, returns the (character string) value of the input field that the cursor is in to the current input field. At other times, returns the (character string) value of the input field the cursor was last in.
Note: Does not apply to SpeedScript programming.
Syntax
|
Example
When the user presses END-ERROR while running this procedure, the procedure displays the name and value of the field the user was updating, along with the name of the table that contains that field.
r-frval.p
|
Notes
- If the cursor is not in an enabled input field when the last input statement ends, FRAME-VALUE returns a null string.
- FRAME-VALUE is set to blanks at the next pause (done by a PAUSE statement or automatically by the AVM) or at the next READKEY statement.
-
FRAME-VALUE returns strings. If you use FRAME-VALUE to return a number, you must convert it prior to numeric comparisons. For example:
FIND Customer WHERE Customer.CustNum = INTEGER(FRAME-VALUE)
See also
FRAME-FIELD function, FRAME-FILE function, FRAME-VALUE statement, PROGRAM-NAME function