Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 432223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:03:11+00:00 2026-05-12T20:03:11+00:00

Ok, this might be a weird request, but is it possible to essentially flatten

  • 0

Ok, this might be a weird request, but is it possible to essentially flatten my dataset inside a crystal report?

I have a datatable in C# that was created with a join, so when it hits the report its 2 records. Most of the columns have identical data, with the last few displaying a different address.

Instead of printing the detail section multiple times with mostly similar data, I need to display 1 ‘record’ with the common data printed once, and each records address arranged next it. As in, all the common fields displayed in one area, and then next to that the address fields from the record where ‘AddressType = 1’, then next to that the address fields where ‘AddressType = 2’

Is this a subreport thing? Because even with subreports I can’t get it to only print 1 detail section with the data from just the first record.

Is this even possible with crystal? For long drawn out reasons, I can’t flatten the data before it gets to the report.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T20:03:11+00:00Added an answer on May 12, 2026 at 8:03 pm

    Ok, someone here in the office showed me the way, so I’ll put this out there.

    Given data with cols A,B,C all common and D,E different across multiple rows, this is how I ‘flattened’ the dataset in crystal:

    1. Create a group based on col A, and put A,B,C inside that group header – get rid of the details section entirely
    2. Create a subreport in the group header for each row of data, in my case 2 subreports
    3. Inside each subreport, put fields D,E. Important: There are NO links for these subreports!
    4. For each subreport go into the Select Expert and create a condition that shows only 1 particular row of data. This conditional will have the same field for each subreport, but different values. In my case it was AddressType=’A’, and AddressType=’B’

    This will produce 1 report, with A,B,C listed once, and D,E listed once for each subreport(once for each row of data)

    This was confusing, time consuming, and I hate crystal reports now more than ever.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This might be a weird requirement but it's what I've run into. I Googled
So I have been writing to Environment.SpecialFolder.ApplicationData this data file, that upon uninstall needs
I am getting a weird crash when I try to save my model. This
There is something weird going on in my code so i have to ask.
I know this was a contentious issue five years ago, but I'm wondering if
I have seen this show up several places in code, never with an explanation,
Ok, the title might sound a bit vague but I really can't think of
I'm trying to split a string using the method found in this thread ,
Here's what I'm trying to achieve. I have a directory with over 4200 sub-files/sub-directories,
I recently installed Node.js on a fresh Linode box, and I think I'm in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.