ESC Key

Scott scott.filepro at aanet.com.au
Thu Oct 6 17:23:43 PDT 2011


Ken 

Sorry I should be mentioned FP ver 4.8.10

And I think SAVE OFF is in ver 5.0?

Does the table start at line 1 when it come in cold ?

I have all my array fields set at the start of my table then it comes to a
'end' before the start of my 1st @wef .

Thanks Ken

Scott




-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at spamcop.net] 
Sent: Friday, 7 October 2011 10:02 AM
To: scott.filepro at aanet.com.au
Cc: filepro-list at lists.celestial.com
Subject: Re: ESC Key

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