I have been using a tool I found online to build up a SQLITE DB but I have ran into an issue when I try and use it with LC.
First oddity:
The Tools name is "SQL Lite Databrowser 2.0" and it doesn't save the file with a file extension? Through finder in MAC my system just sees it as a "Document" and through terminal is also shows no file extension.
So,
Noting this I have used the Copy files pane in the Stand alone settings to add the file and LC shows it as a SQL Database as it should.
I am using the following to make sure the file is there before connecting but it always returns that there is no file...
Code: Select all
-- First make sure the DB is there
put specialFolderPath("Engine")&"/SCOREPADDB" into tDatabasePath
if there is not a file tDatabasePath then
answer "Can't located the Database. Please download again from Appstore!" titled "Error"
quit
end if
and modified the code and it still cant find it.
Note: after I did this the tool I used to build the DB states 'this is not a valid SQL Lite 3 File' when I try to open it...
Code: Select all
-- First make sure the DB is there
put specialFolderPath("Engine")&"/SCOREPADDB.sqlite" into tDatabasePath
if there is not a file tDatabasePath then
answer "Can't located the Database. Please download again from Appstore!" titled "Error"
quit
end if