On May 01, 2006, at 9:00 PM, Christian Miller wrote:

On May 1, 2006, at 10:52 PM, Charles Kelley wrote:
        dim SDB as REALSQLDatabase
        SDB = new REALSQLDatabase

        if SDB.error then
                MsgBox "Your error was " _
                        + Format(SDB.errorCode, "-0")
        else
                MsgBox "No error was made."
        end if // SDB.error?

In the built application, no error is generated, but in the IDE it is.

Perhaps the error is a misnomer since you're never making a connection. Change your IF statement to:
If Not SDB.Connect and SDB.Error Then

Perhaps but error should be false anyways
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to