>I have a variable that is in scope while a form is running. I want to close the form if the variable's value is .t. Where is the best place to put the code to check for it? GotFocus? Activate? Refresh?
>TIA,
Tracy,
Why not make it a property of the form and add an _assign event. That way, you can close the form when the value is changed.
George
Ubi caritas et amor, deus ibi est