If you add the tables to the form's data environment, then VFP will take care of opening them, closing them, as well as opening the database and closing it.
>HI,
>
>how can i open a database file when DO FORM AAA. ( and close file )
>
>what is different between 'USE' and 'TABLE'.
>
>( is that mean... open database with 'TABLE', we can open many FORM with same database in same time. )
Hector Correa