Results 1 to 7 of 7
  1. #1
    sailngsue is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2011
    Posts
    7

    Create one record for every field in another table


    I have a table that has one record in it hundreds of fields. I need each field to be it's own record in a different table. So easy to do in excel, but I'd like to do it with Access. Can any one give me a solution?

    Thanks

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    Why would you want to do that?

  3. #3
    sailngsue is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2011
    Posts
    7
    Because I need to analyze the data, I only need some of the information but I need it to be in separate records so that I can then match it up to other information.

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    There isn't anything you can do with a 1 field table that you cant do with a 100000000000000000 field table. Can you describe the analysis that needs to be done?

  5. #5
    sailngsue is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2011
    Posts
    7
    I need to search for fields that contain clp**** and then separate that field into multiple fields ( I have already written that part of it). The other way around this would be able to import the text into multiple records.

    I have a text file that is one record and uses a ~ as a delimiter between fields.
    I used the DoCmd.transferText Statement
    DoCmd.TransferText acImportFixed = 1, , "NewImport", "W:\NewImport.txt
    It imported as one record creating field names field1....field255.
    What I really want it to import is one field with as many records as it needs.

    any suggestions?

  6. #6
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    SO what you have is:

    Word1~Word2~Word3~Word4~Word5~

    and you want:
    Word1
    Word2
    Word3
    Word4
    Word5

    then to find all the clp*s. Correct?

  7. #7
    sailngsue is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2011
    Posts
    7
    correct that is what I need

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

Similar Threads

  1. Replies: 3
    Last Post: 08-05-2011, 08:13 PM
  2. Replies: 1
    Last Post: 09-29-2010, 08:01 AM
  3. Replies: 1
    Last Post: 09-21-2010, 09:49 AM
  4. Replies: 7
    Last Post: 12-30-2009, 11:03 AM
  5. Create PDF for each record in table/form
    By ChrisCMU in forum Forms
    Replies: 15
    Last Post: 07-28-2009, 01:52 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