[Gambas-user] I can't disconnect from the database

Fabien Bodard gambas.fr at ...626...
Mon Jan 4 22:04:24 CET 2010


2010/1/4 M. Cs. <mohareve at ...626...>:
> So that means I cannot redirect the properties for a connection to use
> another file instead?
> I mean, if I'd close connection and change the file and reopen?

you can too

hresult = hcon.exec(..)

hcon.close
hcon.host = "mynewfilepath"
hcon.database="newdatabasename"
hcon.open




> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list