>In our application, we use pageframes to accomodate large data entry tasks. To accomodate our customers that don't like mouse-interupts, we have a page-up and page-down utility that is called using the ON KEY PGUP and ON KEY PGDN commands.
>
>This has worked fine, but I have recently discovered some really strange behavior that is new to me (but apparently existing all along). It seems that if we are on an object that has a valid (lostfocus, etc.) method, and press the Page Up key, then the object methods are not executed until the page is loaded the next time.
>
>In our case, this causes program errors to occur when the valid is 'restarted' upon page activate, due to now-incorrect dynamic form properties. It is also causing data to be stored incorrectly for some items, such as measurement conversions.
>
>Is there a standard way to handle this, or does anyone have any ideas how to ensure that the object valid property gets executed prior to leaving a page?
>
>Thanks in advance,
>
>David
You may try to use the KeyPress method of the form to handle this.
HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca