Returns the name of the database table that contains the field the cursor is in. The FRAME-FILE function is useful if you want to provide users with context-sensitive help.
FRAME-FILEThis procedure updates fields from the Order table and the Customer table. It uses the FRAME-FILE function to tell you which table contains the field being updated.
FOR EACH Customer, EACH Order OF Customer:DISPLAY Order.OrderNum WITH CENTERED ROW 2 FRAME onum.UPDATECustomer.CustNnum AT 5 Order.CustNum AT 30 SKIPCustomer.Name AT 5Customer.City AT 5Customer.State AT 5Customer.PostalCode AT 5WITH ROW 8 CENTERED 1 DOWN NO-LABELS EDITING:MESSAGE "The field" FRAME-FIELD "is from the" FRAME-FILE "file".READKEY.APPLY LASTKEY.END. /* EDITING */END.
![]()
FRAME-FILE returns a null string if the frame field being entered is not associated with a database field.
![]()
If the cursor is not in an enabled input field when the last input statement ends, FRAME-FILE returns a null string.
![]()
The FRAME-FILE value is set to blanks at the next PAUSE statement, at the next READKEY statement, or when the AVM pauses automatically.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |