realbasic-nug
[Top] [All Lists]

Re: PostgreSQLDatabase Connections

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: PostgreSQLDatabase Connections
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Wed, 30 Apr 2008 09:31:44 -0600
Authentication-results: mx.google.com; spf=pass (google.com: domain of realbasic-nug-bounces at lists dot realsoftware dot com designates 66.116.103.65 as permitted sender) smtp dot mail=realbasic-nug-bounces at lists dot realsoftware dot com
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <8259D3C7-7012-44FF-8D71-FC9FE80003D9 at no-no-badpuppy dot com> <082046DE-73EF-4340-8A3F-361B9B037AA9 at great-white-software dot com>
On 30-Apr-08, at 9:03 AM, Norman Palardy wrote:

> I'd reported this bug with the plugin some time ago <http://
> realsoftware.com/feedback/viewreport.php?reportid=yuhhlkwv>
> But it was marked not reproducible
>
> Try adding this code to yours where you show the congrats message to
> see what database you ARE connecting to
>
> dim rs as RecordSet = db.SQLSelect("select current_database()")
>
> if not rs is nil then
>         msgbox "Connecte to " + rs.IdxField(1).StringValue
> end if
This last IF line should read
     if not (rs is nil) then


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>