I have serius connection problem with my database sqlite.

my code is this:

on mouseUp
  put tAppPath() & "GestPres.db" into tDB
  put revOpenDatabase("sqlite",tDB,,,,,) into mydb
  revCloseDatabase mydb
end mouseUp


function tAppPath
  put effective filename of this stack into tFilename
  set itemdel to "/"
  if the platform = "MacOS" AND the environment <> "development" then
  ##!!
     delete item -4 to -1 of tFileName
    ## MacApp.app/Contents/MacOS/Standalonestack
  else
    delete item 1 of tFileName
  end if
   return tFilename & "/"
end tAppPath


this is the error:

Database error:Unable to open the database file

I have created the db with Sqlite Manger . I open the db with the Sqlite 
Manager.

thanks






Cordiali Saluti
Alessandro Pisoni


System.ini di Pisoni Alessandro
Via Grandi,5
20062 Cassano d'Adda (MI)
Tel 0363-361487 Fax 1782260060 Cell. 335440150
email:i...@system-ini.it
www.system-ini.it




_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to