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

2010-01-04 Thread Fabien Bodard
2010/1/4 M. Cs. : > 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.ope

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

2010-01-04 Thread M. Cs.
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? -- This SF.Net email is sponsored by the Verizon Developer Communi

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

2010-01-04 Thread Fabien Bodard
normal ... as the db is automatiquely opened if it is not when you are use a call so DB.Close MyNewCon.Open DB.Exec(etc... . 2010/1/4 M. Cs. : > Although I've invoked the DBconX.Close() command for my sqlite connection, I > can still issue queries, and I'm getting results. > I'd like to close

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

2010-01-04 Thread M. Cs.
Although I've invoked the DBconX.Close() command for my sqlite connection, I can still issue queries, and I'm getting results. I'd like to close the connection, select another database file and open it. how to do it? I've checked the DBconX.Open() commands in subroutines, but there's no possibiliti