User Tag List

Results 1 to 5 of 5

Thread: Database Conversion

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    729
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Database Conversion

    Hello all,

    I have a question about databases. I am working on a project that has a .mdb file. I want to use the sql lite 3 object, i think, but how do I convert the current records, in to a new sql lite 3 object?

    I have looked for an example but have not been able to find one. The best I can find is to export each table to a CSV. Is that my only option?

    Thanks,
    K

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Database Conversion

    If i'm not mistaken a .mdb file is an access database ?

    If so, then you can probably create a dump of your database from access. You can probably choose which kind of dump you want : CSV (as you said), or probably SQL. This SQL should be compatible with SQlite 3

    You might have to make some slight modifications to make it sqlite3 compatible, though. I use SQliteManager (a php script), which can also read MySQL statements, maybe this could help you too.

    I never worked with .mdb and access, so excuse me if my post is useless

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    729
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Database Conversion

    Well its a microsoft database, hence the .mdb extention, but is normally edited in access but I don't use access. I use ADO and write what I need so thats what I did. It only took about 10 min. to write a script that pull the fields out I wanted and using live receiver I pulled it down and imported it in to a new DB I created with the sqllite object. This worked great as I had several cities dbs I had to deal with to make the new format. I will have to check to see if access, I use open office, its free, has an export for future ref.

    Thanks for your input, you had it right but even if you didnot I give you credit for the reply, at least you gave me what you though i needed and you were right!

    Thanks again,
    K

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Database Conversion

    I don't know anything about .mdb files like i already said, but sqlite databases have an sqlite_master table which contains all the sql statements of its structure. You're probably looking for more than just your structure, but if not it could be interesting to search if mdb files use such a master table.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Kimera's Avatar
    Join Date
    Feb 2007
    Location
    Houston, TX
    Posts
    729
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Database Conversion

    No worries, I did not need all the data out of the mdb file, it was so messed up and had no real structure just a bunch of tables and bad indexing, so I was able to create the fake csv files using ASP, create the tables I wanted in sqllite and then I can save the file out to access the data as needed when the app is restarted. This way the client software can use the data it gets from each boot, downloaded as CSV files using Live Reciever, and run with the speed of sql on their end once they have the data and the clients who need the data dont have to querry the server but one time. Since they don't make updates I am in good shape.

    If I wanted to update the main DB on the server all I would need to do is pass the data using Live Reciever. In fact I could have done this and left the server database an mdb file but that would not have been as much fun now would it!

    MMF is such a great program and the people here are too. I can't tell you how many software packages I purchased for more money and got less, or no, support than we get from everyone at clickteam and this forum.

    Thanks for all the input, though I found a workaround for my needs, your information got me thinking about some other things that I will check out when I get some time.

    K

Similar Threads

  1. Conversion request..
    By ElectricMaster in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 8th March 2012, 08:49 AM
  2. Database: Connecting to a database over internet
    By Ham in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th March 2010, 11:00 AM
  3. Audio Conversion?
    By LWFX in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th March 2009, 11:14 AM
  4. [WIP] RGB to HSL Conversion Widget
    By DragonMC in forum Widgets
    Replies: 0
    Last Post: 26th February 2009, 03:22 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
  •