ESC Key

Kenneth Brody kenbrody at spamcop.net
Thu Oct 6 17:02:20 PDT 2011


On 10/6/2011 7:51 PM, Scott wrote:
> Hi all
>
> Having issues with users (after being told not to) pressing ESC while in a
> add record, there for saving the record before the completion of the fields
> and the rest of the required code. (Uniquie number is assigned at the end
> menu of processing and then record is saved).

If there are fields on the screen which you require to be filled in, have 
you considered tell filePro about this?  (Use "%nnn" rather than "*nnn" on 
the screen, and filePro will require that those fields be non-blank before 
allowing the user to save the screen.)

> Is there a off function ? ( like the BREAK OFF for Ctrl-C)

You mean, something like "SAVE OFF"?

> Where does the processing go after a ESC press?

If no processing is currently running, the it starts at line 1 of the input 
table.  Otherwise, it continues after the SCREEN/POPUP command that entered 
the screen.

> Return to the start of prc table then . maybe a auto table
>
> Can anyone tell me how to stop the user pressing the ESC key,  or do I just
> have to catch it somewhere?
[...]

See above.

-- 
Kenneth Brody


More information about the Filepro-list mailing list