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!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement