Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 12 of 12

Thread: SQLite

  1. #1
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    SQLite

    Where does the Data Base store any new information I add to it???

  2. #2
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    Hummmm

    I burned the template to a CD and ran it. I then got this:



    What does this mean?

  3. #3
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Is the database on CD??

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Yes it sounds like Ron is one the right path here. I'm not too familiar with this plug-in yet but that's probably what happened from the look of it. If it's trying to access the CD-ROM which is read-only, that's the error you'd get.

    Corey Milner
    Creative Director, Indigo Rose Software

  5. #5
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    Ok... does this mean that this plugin can not be used on a CD?
    How does this plugin get used???????????????????????????

  6. #6
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Yep it can be used, but obviously the idea is to use it to manipulate data on the hard drive. Let me get up to speed on this one Bruce then I'll offer some advice. Unfortunately I just haven't had time to sit down and build some stuff with these yet.

    Corey Milner
    Creative Director, Indigo Rose Software

  7. #7
    Join Date
    Oct 2003
    Posts
    164
    As I understand it, you can "unpack" the database to memory, or to client machine's HD. I had a similar question a few weeks ago, Brett commented on this, but I can't recall where the post was... So, in theory the CD-ROM solution is do-able. It's probably something in the "set-up" on the dev side.
    -Scott F.

  8. #8
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Yes I remember that post. You're right on the money there I think. I can hardly wait to build some stuff with this thing, I've been dying to get at it for weeks.

    Corey Milner
    Creative Director, Indigo Rose Software

  9. #9
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    I'm not familiar with the plug-in, but I would also assume that the database would unpack to the hard drive (or maybe upload or exist on a server?) w/ an attribute change. Can't wait to play with it either!

  10. #10
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    (ahem) This would be a good time to RTFM.

    The first step in working with a database is to open a database file with SQLite.Open(). This action takes a single parameter: the filename of the database that you want to open.

    As it says in the documentation for this action:

    Opens a SQLite database. If the database does not exist, it is created.
    For example:

    Code:
    -- open a database file in the user's temp folder
    handle = SQLite.Open(_TempFolder .. "\\MyDatabase.db");
    That action opens a MyDatabase.db file in the user's temp folder. If the file doesn't exist yet, it gets created first.

    The action returns a database handle, which is used by the other SQLite actions. For example, if you wanted to close that database, you would use:

    Code:
    SQLite.Close(handle);
    As you can see, you can open/create a database file anywhere you want. The sample project opens its database file from _SourceFolder by default. If you want to burn it to a CD, change the SQLite.Open() actions to open the database file somewhere else.
    --[[ Indigo Rose Software Developer ]]

  11. #11
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    This would be a good time to RTFM.

    The first step in working with a database is to open a database file with SQLite.Open(). This action takes a single parameter: the filename of the database that you want to open.

    As it says in the documentation for this action:

    Opens a SQLite database. If the database does not exist, it is created.
    For example:

    Code:
    -- open a database file in the user's temp folder
    handle = SQLite.Open(_TempFolder .. "\\MyDatabase.db");
    That action opens a MyDatabase.db file in the user's temp folder. If the file doesn't exist yet, it gets created first.

    The action returns a database handle, which is used by the other SQLite actions. For example, if you wanted to close that database, you would use:

    Code:
    SQLite.Close(handle);
    As you can see, you can open/create a database file anywhere you want. The sample project opens its database file from _SourceFolder by default. If you want to burn it to a CD, change the SQLite.Open() actions to open the database file somewhere else.
    --[[ Indigo Rose Software Developer ]]

  12. #12
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    Sorry Lorne, I did read it... :( I was so jazzed to get that I over read it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts