[Gambas-devel] Release of Gambas 1.9.25

Fabien Bodard gambasfr at ...4...
Tue Feb 21 07:47:26 CET 2006


Le Lundi 20 Février 2006 23:38, Benoit Minisini a écrit :
> On Monday 20 February 2006 23:25, Fabien Bodard wrote:
> > Hi Benoit, Daniel
> >
> > I've trying to make a little sample for managing database with the new
> > components... but... where does i define the connection ? i don't
> > understand what you are doing in the gb.dataform sample....
> >
> > Regards,
> > Fabien
>
> At the moment the gb.db.form controls only use the current connection.
>
> Just create a new connection object, that you put in a global variable, so
> that it is not freed, and it becomes automatically the current connection
> object.
>
> The controls will automatically open the connection when needed.
>
> If you *really* want to understand what happens, just open the gb.db.form
> project, and run it step by step :-)
so, it was what i was understand.... but what about multiple database 
sources ?
>
> Regards,





More information about the Devel mailing list