V4RB - vServer Begin again

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Sep 21 11:42:26 CDT 2004


On 9/21/04 10:46 AM, "erne" <ernestogiannotta at tiscalinet.it> wrote:

>> Great!
>> 
>> In fact I believe if you click button Query,
>> You will get window which uses cursor.
>> 
> 
> well... I had tried it
> but it crashed on a nil cursor...
> 
> but now I'm starting to see things clearer so I'll check that again
> 
> BTW I'm wondering how to figure out when connection attemps fail
> 
> i.e.
> after coding 
> db = new vDatabase(host, user, password)
> or
> vs = new vServer(host, user, password)
> 
> how can I know if something gone wrong and connection failed?

You need check 

    db.errcode

> in the vServer Utility RB project I leave parameters as default "localhost,
> sa, sa"  it seems to connect but it really doesn't

> I must change "localhost" with "" to get a real connection

ok


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