Results 1 to 4 of 4
  1. #1
    liebor is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    3

    Cool example of txt import

    I have say 1000 records each having at least the 'Name:' and 'Country:' field. They are separated by an empty row in a TXT file- example of 2 records:

    Name: Balatti, Michel


    Company: Blaalb
    Website: http://birkintree.com
    Email: michelbalatti@tiscalinet.it
    Screen Name: Michel
    Address: Savona,
    Country: Italy

    Name: Banis, Mr Jan
    Email: jbanis1@gmail.com
    Country: Ireland

    How would I populate a database in access. Thanking you for a hint.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I would just use VBA and the Input # command and walk through the file.

  3. #3
    liebor is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    3

    does walk suggest some crawling

    Quote Originally Posted by RuralGuy View Post
    I would just use VBA and the Input # command and walk through the file.
    Thanks for caring for the forum...
    Will the result be not automatic ie. one would just need to see all the records to control the input process?
    Will you suggest a place with VBA tutorials
    Thanking you

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Crystal has some good tutorials: http://www.accessmvp.com/strive4peace/
    We can help you with the code if you want to learn but it takes a bit of time.

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

Similar Threads

  1. Import from .CSV or .TXT
    By accesscoding in forum Import/Export Data
    Replies: 4
    Last Post: 02-12-2011, 06:05 AM
  2. Batch import .txt
    By hchui in forum Import/Export Data
    Replies: 1
    Last Post: 10-14-2010, 08:57 PM
  3. Import value from one form to another
    By vCallNSPF in forum Forms
    Replies: 1
    Last Post: 01-13-2010, 05:49 PM
  4. CSV vs XLS Import
    By Betty Boop in forum Import/Export Data
    Replies: 1
    Last Post: 10-27-2009, 07:10 AM
  5. How would I import something like this?
    By Insyderznf in forum Import/Export Data
    Replies: 13
    Last Post: 08-10-2009, 05:18 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
  •  
Other Forums: Microsoft Office Forums