Close-open database with RealStudio class way
Francois Van Lerberghe
fvanlerberghe at freegates.be
Tue Apr 24 01:47:21 CDT 2012
Hello,
I would like to know what is the best code (RealStudio) in order to close
and open again database.
I've used this code :
Dim db As myDatabase
db = new myDatabase
db.Open
...
db.Close
db = nil
...
db = new myDatabase
db.Open
As I experience some problem executing the second "db = new myDatabase", I
would like to know if I can close and open again without instantiate again
my db object :
Dim db As myDatabase
db = new myDatabase
db.Open
...
db.Close
...
db.Open
Thank you for your advice.
François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique
More information about the Valentina
mailing list