Results 1 to 2 of 2
  1. #1
    wcotis60 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    1

    Import PIPE Delimited Multiple Line

    I need to create printable format from a PIPE delimited text file. The file is something like this:

    10|2334|DOE|JOHN|M|12161980|M|123 MAIN ST|OXFORD|MS|38865|...
    20|2334|BCBS OF MS|YAQ123456789|...
    20|2334|MS MEDICARE|123121234|...
    30|2334|09182011|71220|CHEST PA/LAT|38.00|...
    10|45678|PUBLIC|JOHN|Q|12161980|M|1 MAIN ST|OXFORD|MS|38865|...
    20|45678|MS MEDICARE|234232456|...
    30|45678|09182011|71210|CHEST 1 VIEW|28.00|...

    and so on.



    The records are 'related' buy the second field, which is the patient ID#.
    The first 2 characters, "10", "20", "30" indicate what type of information.
    10 is patient name and address
    20 is patient insurance
    30 is charge related

    Can Access 2010 import this directly?

    A new file is received each day, so I need a way to automate this.

    Thanks,

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Cannot use the import wizard because the lines need to go to 3 different tables. This will require VBA code.
    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: 3
    Last Post: 08-16-2011, 02:20 PM
  2. Replies: 2
    Last Post: 08-05-2011, 01:24 PM
  3. Replies: 7
    Last Post: 04-11-2011, 03:58 PM
  4. Replies: 0
    Last Post: 11-23-2009, 09:19 PM
  5. Multiple detail items per line
    By needafix in forum Reports
    Replies: 3
    Last Post: 10-22-2009, 11:04 AM

Tags for this Thread

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