Beginners RB Valentia Question

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Sep 17 09:51:40 CDT 2007


On 17/9/07 5:44 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

> On 16/9/07 10:11 PM, "Todd Fantz" <tfantz at mindspring.com> wrote:
> 
> Hi Todd,
> 
>> Howdy,
>> 
>> I am porting a Realbasic app from MySQL to Valentia. This is my first
>> project using Valentia. So that I have to change the least amount of
>> code (at least at first)
> 
>> I would like to use the VRBDatabase classes,  which I gather uses the RB DB
>> API, but I can't figure out how to  specify a connection to a server.
> 
>> I understand how to use the  VConnection with the VDatabase object, but the
>> VRBDatabase object  does not have the necessary host properties, nor can I
>> seem to attach  it to a VConnect object. Can anyone post a simple connection
>> sequence  to a server using VRBDatabase?
> 
> I will check now our example

Okay I see now.

1) 

Please note that VRBDatabase class is subclass of Database class of
REALbasic. So it inherits all its properties and methods.

In particular properties Host, UserName, Password.
You can see them even in the auto-completion menu.

2) also note that RBDB API means that all dbs will have similar code.
    I'd say THE SAME in ideal.

So you need just read docs/help/examples of REALbasic itself about RBDB API.


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