Getting connected with new VSRV

Ken Ray kray at sonsothunder.com
Tue Dec 9 13:33:38 CST 2003


> > It would seem to me that if I've already got databases in the 
> > "databases" table in master.vdb, that my next step is just to do a 
> > "Database_Open", right? I don't need to do a 
> "Database_New", do I? The
> > "Server_New" takes the place of the old "Database_New", right?
> 
> No,
> 
> You need do Database_NEW
> 
> You want work with 2 dbs, correct?
> 
> So your code should looks as
> 
>     db1 = Database_New( srvRef )
>     db2 = Database_New( srvRef )
> 
> Now you have 2 Database objects. You can make more if needed.

Great, Ruslan! Thanks for your reply... you might want to update the
VXCMD docs to fix the Database_New entry (it still shows the "old"
method of client connection.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 




More information about the Valentina mailing list