Results 1 to 2 of 2
  1. #1
    excellenthelp is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Mar 2014
    Posts
    93

    Repeating rows in a query

    Hi,



    I am attempting to perform a normalization process in a query where an organization would be operating in several different states and different countries. I have created three tables where: one table is Organization, second table is Country, and the third table is State. I made a table to record: Organization ID, Country ID and State ID. An organization could have 1 or more countries while having no US states. Also the organization could have 1 or more countries while having 1 or more US states.

    What I am seeing is in my query is:

    Organization | Country | State
    Organization | Country | State
    Organization | Country |

    What I am wanting to see is:

    Organization | Country, Country, Country | State, State

    In the end, I want to make a mail merge from this query table.

    How can I 'normalize' the query?

    Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    AFAIK, what you want is NOT a normalized dataset and is actually denormalization.

    Review: http://allenbrowne.com/func-concat.html

    I've never used Access/Word mail merge but have known users to have problems with calculated fields.
    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. repeating rows
    By slimjen in forum Forms
    Replies: 1
    Last Post: 11-20-2013, 03:26 PM
  2. Repeating same Data to the next/new Record
    By djclntn in forum Forms
    Replies: 8
    Last Post: 11-07-2012, 08:09 AM
  3. Replies: 0
    Last Post: 02-09-2012, 05:43 PM
  4. Repeating Function
    By Code5OnYou in forum Forms
    Replies: 4
    Last Post: 01-12-2012, 01:55 PM
  5. Repeating Records
    By windwardmi in forum Reports
    Replies: 13
    Last Post: 05-22-2010, 02:54 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