Erick Tejkowski wrote:
Erick, I do the following:
After the database was created, as via your code below, you'll
have a DB file called "SomeDataFile." Then I drag this file into the
IDE. Now you can examine it in the IDE.
I have never used db.DatabaseName, I'm not sure what it does. I
always refer to it to its property label like "db" in your case
Cheers
Peter
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>
_______________________________________________
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>