Both Server and Local databases?
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Sep 9 12:12:14 CDT 2003
on 9/9/03 12:06 PM, Mike Albert at malbert at asia.apple.com wrote:
> I have done this but had to comment out one of the lines in the condition
> because I get compilation errors..... the V4RB Client plugin doesn't
> understand the syntax....the "new VDatabase"...it expects some additional
> parameters.
Aha I see problem.
Then you can try to use conditional compilation for now.
I have hear RB can do this.
> Apologies if I am missing somethng here.
>
> regards
> Mike
>
> On Tuesday, 9 September 2003 4:41 PM, Ruslan Zasukhin
> <sunshine at public.kherson.ua> wrote:
>> on 9/9/03 11:33 AM, Mike Albert at malbert at asia.apple.com wrote:
>>
>> Hi Mike,
>>
>>> Would it be feasible to add to the V4RB plugin (not Client) the ability to
>>> ignore the extra parameters (not do anything) for the statement
>>> "VDatabase(inhost, inuser, inpasswd)". If it could do this then I would be
>>> able to develop my project as a single project and then just swap in the
>>> appropriate plugin to test the client.
>>
>>> I have already built all of the server hooks into my source....the
>>> difficulty
>>> I face is that neither plug-in understands (or ignores) the syntax superset
>>> -
>>> so I have to modify the source repeatedly to be able to switch between
>>> client
>>> and server based testing....this takes a lot of time.
>>>
>>> If we had the above, we could avoid changing the source just to test server
>>> functionality etc. and make life a lot easier.
>>>
>>> Just a suggestion.
>>
>> Guys, if you look deeply then ONLY difference between client and local dbs
>> -- HOW we create instance of Vdaatabse. Correct?
>>
>> So I think you can put creation of database instrance into some wrap
>> function and use
>>
>> dim db as VDatabase
>>
>> IF localDB
>> db = new Vdatabsae
>> else
>> db = new Vdatabase(host, ...)
>>
>>
>> So you will need change only one variable.
>>
>> Or I have miss something ?
>>
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list