CLOSE DATABASES ALL
or
SET DATABASE TO MyDBC
CLOSE DATABASES
HTH
>I'm using VFP 7.0
>
>I cannot find a way to close a database and re-open it exclusively so I can cleanup and edit the referential integrity.
>
>"Close Databases" appears to close them, but they still appear in my database pulldown and "Open myDataBase Exclusive" and "Modify database myDataBase" don't activate the "Clean Up Database" on my database menu.
>
>The only thing I can find is to close VFP and restart and "Open myDataBase Exclusive" right away.