| Subject |
Re: Close Databases |
| From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
| Date |
Thu, 23 Jul 2020 11:49:42 +0530 |
| Newsgroups |
dbase.getting-started |
On 23.07.2020 10:35, Tony Hughes wrote:
> Hi Again,
>
> Should I "Close Databases" when I am exiting a form that has had say 4 databases open in the coding ?? - Tony Hughes
>
Good Morning Tony,
Do you mean to say close tables?
If the tables / databases have been declared as properties of the form
object (i.e. added using the designer) then you need not give special
instructions for closing them.
dBase takes care of this house keeping.
But if you have declared a query in a function then you should close it.
So if the way to access a table is
form.table.rowset
not need to close it. (You can if you want to)
If it is
table.rowset then you have declared it somewhere in your code and you
should close it.
Regards
Akshat
|
|