Close-open database with RealStudio class way
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Tue Apr 24 02:44:09 CDT 2012
On 4/24/12 9:47 AM, "Francois Van Lerberghe" <fvanlerberghe at freegates.be>
wrote:
Hi Francois ,
Both ways must be valid
If the first have some problems for you,
Please mantis that ,,,
> 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.
--
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]
More information about the Valentina
mailing list