home *** CD-ROM | disk | FTP | other *** search
- Procedure cleanup
-
- * This verifies the desire to exit the CKSample application
- * and sets the appropriate flag
-
- IF yes_no("Do you wish to exit?","Exit CKSample Application")
- RELEASE WINDOW results
- IF (ckhandle > 0)
- retcode = dbdisconn(ckhandle)
- IF (retcode < 0)
- DO repoerro.spr WITH retcode
- ELSE
- WAIT WINDOW "Disconnected From "+mess_str NOWAIT
- ENDIF
- ENDIF
- RELEASE LIBRARY fpsql
- CLEAR READ ALL
- SET SYSMENU TO DEFAULT
- exitapp = .T.
- SET MESSAGE TO
- ENDIF
-