Previous Next

FRAME-FILE function
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.
Note:
Syntax 
 
FRAME-FILE
Example 
This 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.
  UPDATE
    Customer.CustNnum AT 5 Order.CustNum AT 30 SKIP
    Customer.Name AT 5
    Customer.City AT 5
    Customer.State AT 5
    Customer.PostalCode AT 5
    WITH 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.
Notes 
*
*
*
See also 
FRAME-FIELD function, FRAME-VALUE function, PROGRAM-NAME function

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.