I wonder if it's a good idea to use the ExitProcess function, like this:
Code: Select all
IF ! File( cIniArch+"users.dbf" )
MsgStop( "El archivo de usuarios no existe", "Error..." )
DBCommitAll()
DBCloseAll()
ExitProcess(0)
ENDIFBest Regards
Javier