I have a form that when it's called it checks to see if there is any employees for a selected agency. If there is not it pops-up a meesagebox and tells the user. The form is then suppossed to release and go back to the select screen. It does not. It loads the form which is blank because there is no employees. I know it is hitting the right routine because I get the messagebox. I have several forms that behave like this. Not sure if I am missing something. Code is below
**Added procedure on form
Messagebox("No employees for selected Agency.",0+16)
thisform.release
do form printagent
**Added procedure on form
Messagebox("No employees for selected Agency.",0+16)
thisform.release
do form printagent