Page 1 of 1

Close any open databases

Posted: Wed Feb 04, 2009 9:30 am
by Eric
Add this command to a script to close any databases that may still be open.

Code: Select all

PUBLIC com_Alias, com_DBF
com_Alias=ALIAS()
com_DBF=DBF()
CLOSE DATABASES
USE (com_DBF) ALIAS (com_Alias)