Results 1 to 7 of 7
  1. #1
    3rdeye is offline Novice
    Windows 98/ME Access 2007
    Join Date
    Oct 2010
    Posts
    3

    Question Manipulating datas on access table

    Hi! Just started using access at work and don't know how to do a lot of things.. If I want to do something like below:



    I have a table like this: where the first and second columns have duplicates in table. for example Column A would be a street number and Column B would be the name, and rest is information about that address.


    87 james 3 h 7
    87 james 5 6 4

    When there are duplicates in rows(same address), I want to copy the rest of the information in that row excluding the address, so Column C, D and E, and paste it beside the first row(so F G H), so there are no duplicate address in rows and all the information about that address is stored in the row. Like below:

    87 james 3 h 7 5 6 4

    I have over million records...How do I do this? thank you!
    Last edited by 3rdeye; 10-12-2010 at 12:54 PM. Reason: spacing

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Do you want "3 h 7 5 6 4" in one field or seprated fields?

  3. #3
    3rdeye is offline Novice
    Windows 98/ME Access 2007
    Join Date
    Oct 2010
    Posts
    3
    separate fields.

  4. #4
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Not easy to put seprate fields, how do you want the field names? f1,f2...?

  5. #5
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I am looking for similar post some weeks ago, but not found yet. Somebody wrote some code for this issue.

  6. #6
    3rdeye is offline Novice
    Windows 98/ME Access 2007
    Join Date
    Oct 2010
    Posts
    3
    field names can be f1,f2...as of now, because I think I can edit that accordingly later...and does the code include removing the duplicates so there is only one row for each address? I realized I would also need that done simultaneously as well in order to have clean data. thank you so much for your help!!

  7. #7
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I think the better way is to create a new table(the code works like this). if you really don't need the old one after finish, just delete it.

    But i can't find the post yet.

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

Similar Threads

  1. Replies: 1
    Last Post: 05-13-2010, 10:50 AM
  2. Conversion in Access table
    By Lucas83 in forum Access
    Replies: 1
    Last Post: 04-06-2010, 11:51 AM
  3. ODBC table read to blank Access table write
    By dibblejon in forum Access
    Replies: 2
    Last Post: 03-10-2010, 08:39 AM
  4. Replies: 2
    Last Post: 10-27-2009, 07:09 AM
  5. how can i access many table to one form
    By T_777 in forum Forms
    Replies: 1
    Last Post: 11-20-2006, 06:51 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