Results 1 to 6 of 6

Thread: Crystal Report / Sub Report

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    3

    Crystal Report / Sub Report

    Hello,

    I am not new to programming but new to Crystal Reports for VS 2005 for the web. I have successfully been able to create a report programmically. However I am having some serious issues with trying to get a subreport programmically.

    I created a parameter value that links one of the main reports fields with the subreport. When I build the report I see nothing.

    Should I have some code behind to handle this? The only thing I have in my code behind is the code that creates the dataset that binds to the main report. I cant include the subreport fields here as they would throw off the query for the main report.



    Thanks,

    David Fowler

    Please let me know if you need code, DB, etc.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Crystal Report / Sub Report

    Thread moved from FAQ forum

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    3

    Re: Crystal Report / Sub Report

    Sorry, where should I place tghis request??

    David Fowler

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Crystal Report / Sub Report

    The Reporting forum - which I have already moved it to.

    Hopefully somebody who can help with this will post soon.

  5. #5
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: Crystal Report / Sub Report

    Can u try this report without sub report and then let know that r u getting the result or not and if u are then pls give me the query of main and sub report is possible.
    Thanks and Regards,

    Muhammad Abbas

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    3

    Re: Crystal Report / Sub Report

    I have gotten this to work by exposing the subreport fields and then linking a common field to one in the main report. My question originally was how do I do this programmically. My solution works but I searched all over the net for how to do it programmically yet, still havent found it. Could you shead some light as to how to do this at run time?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width