V4MD : Connecting to a local DB AND to a server DB possible ?

Steven Ophalvens silversoft at skynet.be
Mon Aug 13 19:27:42 CDT 2007



Hi Steven,

Hi Ruslan,

> I am devellopping an e-learning tool where I need to work both with a
local
> database that
> 
> contains a lot of picture data (later possibly video) and a database on a
> server that stores
> 
> user/teacher/Group/test/etc information. The reason I do not want all that
> multimedia
 
> data on the server DB, is because I fear that when classrooms of students
> all work with
> 
> this tool, the network might quickly be an ugly bottleneck (and I won't
> suffice with the
> 
> 5 connections of the embedded server anymore).


-------------
> I can connect to the server DB and I can connect to the local DB, but as
> soon as I try to 
> 
> Connect to the server after I connected to the local db,  again, all kinds
> of problems start.

 
> (director quitting after displaying that an error has occured is one of
> them)
> 
> Is it possible with V4MD to connect to a local and to a server DB ? If so,
> what are the caveats?

Yes this should work without problems.

--------------------------------
Well question 1:

    * have you made both

        Valentina.Init()
        Valentina.InitClient()

?

-- Yes, I have made the Valentina.Init() call for the
Local and the Valentina.InitClient()  for the server
DB. I have 2 Valentina Objects, one initialised for
Client use, the other for local db use. 
Is it possible to have only one Valentina object that
Runs both the Init() & InitClient()? 
If so, I'll try that tomorrow morning !


--------------------------------
Try set all LOG files ON.
    * VServer log  VerbloseLevel = 3.
    * V4MD: Valentina.DebugLevel = ...

-- Ok, I'll try that in the morning.

--------------------------------
Am I right that you use 2 different VDatabase objects to work with remote
and local dbs?

-- Yes, I even had 2 different Valentina objects, one for each vDatabase
object

--------------------------------
What platform you are using?

-- Vista Home Premium


-- 
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]


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina


More information about the Valentina mailing list