Note that there are some explanatory texts on larger screens.

plurals
  1. POCrystal Reports: Place row data from grouped records into columns
    primarykey
    data
    text
    <p>Okay, so my Crystal Reports datasource has rows that look like this: </p> <pre><code>|--------+----------+---------+------------+-----------+-----------+---------| | SiteNo | SiteName | SiteMgr | ContType | ContName | ContState | ContZip | |--------+----------+---------+------------+-----------+-----------+---------| | 1262 | S. Belt | Joe B. | Landlord | Mike | CA | 90017 | | 1262 | S. Belt | Joe B. | Architect | Paul | TX | 77040 | | 1262 | S. Belt | Joe B. | Contractor | Chris | AZ | 85016 | |--------+----------+---------+------------+-----------+-----------+---------| </code></pre> <p>There are hundreds of site numbers (SiteNo), with each site number having three rows... each record in the report needs to be formatted like this:</p> <pre><code>|------------+------------+------------+------------| | Site | Landlord | Architect | Contractor | |------------+------------+------------+------------| | 1262 | Mike | Paul | Chris | | S. Belt | CA | TX | AZ | | Joe B. | 90017 | 77040 | 85016 | |------------+------------+------------+------------| </code></pre> <p>Since the first three columns (SiteNo, SiteName, SiteMgr) of the datasource are always the same for a particular site, the report is grouped by SiteNo. I have this part figured out. I placed it in the group footer. Then, the part I'm struggling with is, depending on the contact type (ContType: Landlord, Architect, or Contractor), the information needs to go in the associated column.</p> <p>Not sure the best way to do this? Any help would be greatly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload