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 500991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:08:38+00:00 2026-05-13T06:08:38+00:00

I have a crystal report that gets its data from one stored procedure, this

  • 0

I have a crystal report that gets its data from one stored procedure, this works fine and I have a nice grouped report with this data, showing information about a particular report,

However, this report also needs to have a number of graphs in the footer. These graphs draw their data from a different table, and so a different stored procedure. If I add this stored procedure to my existing report, I have to link it to the main stored procedure, this data can be linked, as there is a relationship – its about the same account, but the relationship is not really relevant to the report. When I do this I then end up with lots of duplicated data in the main report, the data in the graph is also wrong.

Can anyone explain the way Crystal reports works when there are more than one SQL queries used, and what the best way to accomplish what I need – a report showing both the main data set, and some graphs, which are about the same account, but use different data sets.

  • 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-13T06:08:38+00:00Added an answer on May 13, 2026 at 6:08 am

    You need to use subreports for your charts – each individual chart will need to be in a separate subreport linked to its own query/stored procedure.

    Crystal displays its data based on a single query. By joining the result sets from your stored procedures, you are creating, in effect, a new query. The result of this new query is the reason that your data is duplicating (due to your join).

    Each subreport is allowed to have its own query that can be linked to the main report with any number of parameters. It is the only way to have multiple independent queries appear on a Crystal Report.

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

Sidebar

Related Questions

I have a report that I created with Crystal Reports 2008. This report uses
I have a Crystal Report that looks like: Date | Person | Ticket |
I have a Crystal Report I'm trying to recreate from scratch after an update
I have an application that uses the Crystal Report COM SDK to create and
I have a project with Crystal Reports files that doesn't seem to build correctly
I have crystal report and I need to convert it to text file. Currently
I have a Crystal Report which is viewed via a CrystalReportViewer control on an
I have a crystal report file I need make a tiny edit in. It
I have a crystal report function which requires me to trim off characters which
I have built a web page which contains a Crystal Report built using the

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.