Re: Return in Input block
Posted in 1997
Phil Rule — — source: Informix-list mailing list archive (1991-1998)
Hi Christian, You need the statement OPTIONS INPUT WRAP before the INPUT statement. This will keep you within the input statement until such time as the user presses whichever key you define as the 'ACCEPT' key (ESCAPE, by default), or another condition arises to terminate the input (like CTRL-P in your example). RETURN will the cycle though the fields f001 through f005, and back to f001 etc. You will need to use the up and down cursor keys to manually step between the lines of f005. Without the 'INPUT WRAP' any type of action key (RETURN,DOWN ARROW etc) in the last field listed in the INPUT statement will terminate the input. Regards, -- Phil Rule