I assume that your quoted code is in the READ VALID snippet. If so, it looks to me like your Save/Exit button is a Read terminate button. To make it work either remove the CLEAR READ line or, if you want to return to the same READ, make your Save/exit button not terminate read.
HTH,
Sorin
>In Foxpro 2.6 for Windows. I am trying to have a screen level validation that checks some things before the screen closes. I entered a logical statement into the screen valid section of the screen generator. I also have some buttons ( for example a save/exit button).. The save exit button contains:
>
>GATHER MEMVAR
>CLEAR READ
>
>When the save exit button is pressed the screen level validation clause IS NOT executed
>
>When I press ESC to exit the screen the screen level validation IS EXECUTED
>
>What should I do in my exit button in order to (1) trigger the screen level validation and (2) exit the screen?
>
>Thanks in advance!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only