----- Original Message ----- From: "E. Tejkowski" <[EMAIL PROTECTED]>
To: "Lists REALbasic NUG" <[email protected]>
Sent: Friday, January 19, 2007 6:22 PM
Subject: REALSQLDatabase name?





How do you name a REALSQLDatabase via code such that the name will
"stick"?

I've tried this:

  db.DatabaseName = "SomeDatabase"
 db.DatabaseFile = GetFolderItem("SomeDataFile")
    If Not db.CreateDatabaseFile then
      //handle error
    end if

And this:

   db.DatabaseFile = GetFolderItem("SomeDataFile")
    If Not db.CreateDatabaseFile then
      //handle error
  else
     db.DatabaseName = "SomeDatabase"
  end if

Neither one seems to work. When I drag the newly created database
into the IDE, it has the name of "Untitled". Am I missing something
obvious?

Thanks
Erick
Mac OS X 10.4 PPC and RB2k7
_______________________________________________
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>



--------------------------------------------------------------------------------


Comodo AntiVirus http://www.comodo.com : Inbound message clean.
Scan Date: Fri, 19 Jan 2007 6:35:53 PM
Virus Definition Update: Fri, 19 Jan 2007
Copyright © 2006 COMODO ®. All rights reserved.

Comodo AntiVirus http://www.comodo.com : Outbound message clean.
Scan Date: Fri, 19 Jan 2007 7:01:43 PM
Virus Definition Update: Fri, 19 Jan 2007
Copyright © 2006 COMODO ®. All rights reserved.
_______________________________________________
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