>>What does Autoclose Table do?
>
>If AutoClose tables is .t., tt closes the tables and views when the form, form set, or report is released.
>
>VFP Help says:
>********
>If AutoCloseTables is set to false (.F.) and the form set, form, or report is not running in a private data session, the tables and views associated with Cursors in the data environment remain open after the form set, form, or report is released. In all other cases, the tables and views associated with Cursors in the data environment are closed.
>********
Autoclose only applies to autoopen. In other words, VFP will auto open tables and views in the data environment, then autoclose those tables/views. If the table is already opened, it is not closed. If you manually issue a USE command or create a cursor, etc, these are not automatically closed either.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer