PreviousNextIndex

NEXT-PROMPT statement

Specifies the field in which you want to position the cursor during the next input operation that involves that field in a frame.

Note: Does not apply to SpeedScript programming.
Syntax

NEXT-PROMPT field [ frame-phrase ] 

field
frame-phrase
Example

This procedure lets you update Customer information. If you do not enter a value for Customer.Contact, the AVM positions the cursor in the Contact field when the UPDATE statement is processed following the UNDO, RETRY of the FOR EACH block.

r-nprmpt.p
FOR EACH Customer: 
  UPDATE Customer WITH 2 COLUMNS. 
  IF Customer.Contact EQ " " THEN DO: 
    MESSAGE "You must enter a contact". 
    NEXT-PROMPT Customer.Contact. 
    UNDO, RETRY. 
  END. 
END. 

Notes
See also

EDITING phrase, Frame phrase


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex