Results 1 to 7 of 7
  1. #1
    JJPetersen1 is offline Novice
    Windows 8 Access 2016
    Join Date
    Jan 2020
    Posts
    9

    Creating a New Table

    I can’t get my head wrapped around this. I have a table with several fields but I want to create a new table, merging the email addresses into a new field (separated with a semi-colon)



    Starting Table (Fields: Unit and Email)

    Unit A john.doe@gmail.com
    Unit A bill.smith@gmail.com
    Unit A george.jones@gmail.com
    Unit B Allen.jackson@gmail.com
    Unit B Richard.nixon@gmail.com
    Unit C Ronald.reagan@gmail.com

    New Table (Fields: Unit and Email)

    Unit A john.doe@gmailcom; bill.smith@gmail.com; george.jones@gmail.com
    Unit B Allen.jackson@gmail.com; Richard.nixon@gmail.com
    Unit C Ronald.reagan@gmail.com

    Any help would be appreciated

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,906
    I wouldn't.
    If you insist, look at allen browne's concatenate.?
    http://allenbrowne.com/func-concat.html

  3. #3
    JJPetersen1 is offline Novice
    Windows 8 Access 2016
    Join Date
    Jan 2020
    Posts
    9
    This is a temporary table, which I would update when needed. I can concatenate with a query about how do limit the unit list as described above

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,906
    See the link?

  5. #5
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,778
    I can concatenate with a query about how do limit the unit list as described above
    Say what?
    If you're saying you can do the concatenation then it seems that the missing part is creating the table. Then use a make table query using the concatenation query as a table.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,409
    If what you are trying to do is have a concatenated list of hyperlinks per your example then this cannot be done. Best you can do is concatenate the address as text.

    Perhaps if you explain why you want to do this, what you will do with the single field when you gave it we might be able to suggest an alternative way

  7. #7
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,906
    Why a table?, when a query would do just as well and hold current data???

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

Similar Threads

  1. Replies: 2
    Last Post: 03-21-2018, 12:00 PM
  2. Replies: 9
    Last Post: 06-15-2017, 03:00 PM
  3. Replies: 11
    Last Post: 02-20-2016, 12:39 AM
  4. Replies: 13
    Last Post: 12-08-2015, 01:36 PM
  5. Replies: 8
    Last Post: 01-27-2014, 12:41 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