On May 01, 2006, at 4:49 PM, Charles Kelley wrote:

Hi, all!

I have been struggling with making a new REAL SQL database. I am stymied when I code the following instruction.

        dim SDB as REALSQLDatabase
        SDB = new REALSQLDatabase

I keep getting an internal error from the database engine. At first, I thought it was the way in which I was subclassing the database; i.e, the following generated the internal error.

        class ADatabase as REALSQLDatabase

        dim SBD as ADatabase
        SBD = new ADatabase

However, the internal error occurs even when I do a direct instantiation of the REALSQLDatabase. This didn't happen with REALDatabase and REALDatabase (Old Format), so what am I missing? See bug report pfiahiww.

Don't both trying to subclass a Database of any kind as it does not work.
Use extend methods if you need to add functionality to them.

The first set of code is fine.
It works here for me and there's no internal error.

What error are you getting ?
What version of RB ?

_______________________________________________
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