2 Replies Latest reply on Sep 22, 2008 9:53 AM by Oliver Goldman

    how to set reference to the database?

    mark416 Level 1

      I build a folder(named 'data') under src and save the database 'user.db' under the data folder.

      I try to read the database with 'File.applicationDirectory.resolvePath("data")' but I can not get the database.

      Please give me the right way to get the database with conn.open(dbFile), how to set reference for the dbFile
      the path is 'src/data/user.db'.I am not sure the syntax.