Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3773

SQLiteDatabase.DatebaseName?

$
0
0

Hi,

I wanted to add a name to my database (this is used later in the software to differentiate between two cases (read or not 2 Columns).

So, in my code (below), I set Emile as the databasename. At database read time, nothing is stored, because nothing is returned:
dbName = db.DatabaseName

I changed the place of the db.DatabaseName = "Emile" line.The is not stored / I cannot get it back.

Var db As New SQLiteDatabase

db.DatabaseFile = f

Try
db.CreateDatabase
db.Connect
db.DatabaseName = "Emile"

Yes, f is valid and was declared (the file is created).

db is valid and alive; I can add a Record with it.

The question is:
Do you use it ?
And if it works for you, how do you make it working ?

PS: I also use that information in the NAG window to make at ease the user (everything is OK, this is my DB).

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3773

Trending Articles