Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2003
    Posts
    5

    Access database?

    I have a database made in Access. Can I convert that database to something I can use in AutoPlay Media Studio?

  2. #2
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804
    If you can find a way to get it into SQL Lite, then yes.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  3. #3
    Join Date
    Jan 2000
    Posts
    2,002
    Your best bet might be to go from Access -> XML -> SQLite (you'll have to write your own import functions with the XML plugin). If you want to use the Access database directly, you could use the LuaCOM plugin to get the date through ADO's ActiveX interface, assuming you are familiar with ADO. The downside to this is that then your customers all need MDAC pre-installed which is a lot fo overhead. For a light-weight, self-contained solution the SQLite plugin would be the way to go.

  4. #4
    Join Date
    Jul 2000
    Location
    NY
    Posts
    332
    If you can get the data into a LUA table you can convert over to a SQLite database real easy.

    I went from Excel ---> Lua table in a text file --> to a SQLite Database

    The same thing should work for access depending on how complex the database is.

    Essentially I wrote a formula in excel to create the code needed for the lua table in the last column of the spreadsheet.

    I then copy an pasted that column to a text (.lua) file that I'd load into and AMS app that essentially read the data from the table and converted it to the SQlite Database.

    If you need an example let me know...

  5. #5
    Join Date
    Oct 2003
    Posts
    908
    Now *that* is good thinking! An excellent technique.

  6. #6
    Join Date
    Jul 2002
    Location
    Taiwan
    Posts
    65
    Can more samples for Lua?
    I don't know how to use Lua plug-in. ops

  7. #7
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    Quote Originally Posted by kpsmith
    If you need an example let me know...
    Yes, please. Should be most appreciated.

  8. #8
    Join Date
    Jul 2000
    Location
    NY
    Posts
    332
    Did I volunteer for that? Sorry I swore off computers for the weekend. Quality time with the kids ...

    Anyhow, here's an example.

    Overview...

    Created a spreadsheet called Sample.xls
    Created a formula in the last column that creates the necessary LUA table structure
    Copy and pasted the last column of data to a text file named Sample.lua

    Now I run the AMS proggie and that loads the LUA table data to the table ImageTable
    Then counts the # of records in the table
    Then creates sample.db and loads the data in the SQLite database using a repeat loop until you get to the Total # of records

    Hope this helps. All these files (sample.xls, sample.lua, sample.db are going into the CD ROOT folder.

    Use the SQLite Database Browser.exe that Intrigued posted to view the database.
    Attached Files

  9. #9
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    kpsmith...

    Very nice!

    Thank you for taking time out of your busy schedule to code and then share this excellent example.

    I really appreciate everyone's support, suggestions here in the forums. Some humor and lots of good help, sharing are going on between these PHP, HTML pages!

    Thank you again kpsmith!
    Intrigued

Similar Threads

  1. INFO: Microsoft Data Access Components 2.8 Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 08:20 AM
  2. Can I use MS access database?
    By xtreme in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 11-26-2003, 08:17 AM
  3. access 2000 run time
    By jennersc in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 07-31-2003, 12:09 PM
  4. INFO: Installing the Microsoft Access Runtime Engine
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-11-2002, 01:01 PM
  5. Runtime Files needed for MS Access Database ???
    By kevinrea in forum Setup Factory 6.0
    Replies: 3
    Last Post: 06-17-2002, 03:13 PM

Posting Permissions

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