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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:56:03+00:00 2026-05-28T15:56:03+00:00

I have a report that within its grid needs to show details for each

  • 0

I have a report that within its grid needs to show details for each row.
Below the data row of the main report I have a subreport that lists some detail for the row.
It is hidden or show by clicking a field / text box in the ‘parent row’.

I need to use a field value from the parent data to populate each detail row.
So far I have not been able to pass this value, and I am receiving this error message:

Data retrieval failed for the subreport, ‘SiteProfileRate’, located at:

If anyone can point me in the right direction, I would greatly appreciate the help.

Thanks for any and all help and assistance!!!

  • 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-28T15:56:04+00:00Added an answer on May 28, 2026 at 3:56 pm

    Looks like I pieced it together…
    For those interested, this is what worked for me…

        this.ReportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(SubreportProcessingEvent);
    
        void SubreportProcessingEvent(object sender, SubreportProcessingEventArgs e)
        {
            SqlDataAdapter sda = new SqlDataAdapter();
            DataSet ds = new DataSet();
    
            ds = getSubReportData(e.Parameters[0].Values[0]);
            ReportDataSource rds = new ReportDataSource("SqlDataSourceProg", ds.Tables["SiteProfileSvcRate"]);
    
            rds.Name = "SiteProfileSvcRate";
    
            e.DataSources.Add(rds);
        }
    
        private DataSet getSubReportData(string strSvcId)
        {
            DataSet ds = new DataSet();
            SqlParameter[] sParam = new SqlParameter[1];
    
            sParam[0] = new SqlParameter("svcid", strSvcId);
            ds = dac.GetDataSet("xwiWR_SP_SiteProfile_SvcRate_Current", sParam, "SiteProfileSvcRate");
    
            return ds;
        }
    
    • 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 renders data returned from a stored procedure. Using profiler
In MS Access, I have some reports that use some queries, to show data,
tl;dr: is it possible to have grouping levels within a subreport which gets its
I have a crystal report that currently shows data grouped twice. The first group
Within vb.net we've got a report that works great it has it's header/footer details
I have a Crystal Report that runs from within an MS SQL Server based
I have a report that uses a TChart that I am maintaining. One of
I have a report that is used by a windows service and a form
I have a report that I created with Crystal Reports 2008. This report uses
I have a report that takes two parameters from a couple of text boxes

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.