Results 1 to 2 of 2
  1. #1
    pgb205 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    1

    Create database from .ini file provided

    an ancient application I'm working with came with .ini file which looks like an instruction set to create an access database. A sample few lines look like:



    TABLE, USER, 13
    FIELD,USRID,LONG,2,NODUP,ID,False,0,AUTO
    FIELD,USRFNAME,TEXT, 50, NO, , True, 1

    TABLE,VISITS,15
    FIELD,VISIT,TEXT,12,NODUP, ID,False, 0


    and so on.

    Is there a way to get Access (2007 in my case) to create a new db by reading from this file? Or do I need to manually enter all this information.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Since you can view the file with a text editor, VBA code could use the info to build tables. How many tables? Might be faster to build the tables manually.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 09-02-2011, 07:12 AM
  2. Interesting Query Problem (Sample Data Provided)
    By pinecrest515 in forum Queries
    Replies: 1
    Last Post: 02-07-2011, 03:27 PM
  3. Replies: 0
    Last Post: 08-05-2010, 08:45 AM
  4. Replies: 0
    Last Post: 12-12-2009, 04:45 PM
  5. Upload file inside .mdb database file
    By havish in forum Access
    Replies: 0
    Last Post: 07-30-2008, 07:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums