open - close a database

Sylvain Perque sylvain.perque at ac-reims.fr
Wed Jun 28 18:52:40 CDT 2006


> > Hi,
> > I work with Director.
> > I would like to know the best way to use a database. I have to update
datas
> > in several parts of my software. Is it preferable to keep the database
open
> > in all my project or to close it and open it when I need to access and
> > update datas ?
>
> And you are single user of that db ?

no, so must I open - close the database each time I use it ?

>
> Then no difference. Just make sure that you do db.flush after changes.
>
> > I noticed that it is not possible to open - update - close a database
> > quickly (in a single script) in director. I have to close database after
a
> > short delay.
>
> Hmm, you have complex/big database ?

no it is a very little database. Director (MX 2004) have trouble with th
instruction "gDb.close()"

>
> -- 
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>


-- 
Ce message a été vérifié par MailScanner
pour des polluriels (SPAM) et rien de
suspect n'a été trouvé.



More information about the Valentina mailing list