Forum Discussion

Lokimon1's avatar
Lokimon1
Copper Contributor
Nov 26, 2023

Creating a new record by combining multiple rows into a single record based on a unique identifier

  Hello,  I hope that you can help me with something that seems like it should be simple, but has me stumped!  I am trying to create a new table from the table above.  Each row is a vaccinatio...
  • George_Hepworth's avatar
    Nov 28, 2023

    Lokimon1 

     

    It turned out that a crosstab will not produce the exact layout shown in your screenshot. However, a query with appropriate subqueries should do so. Note that this requires no more than 3 vaccinations in a series for one individual. More extended series would require more complicated logic.

    This sample accdb and queries should show you how to prepare the display for the data in the layout illustrated. 

     

     

Resources