same report - 1 embedded in app, 1 not embedded in app

Discussion in 'microsoft.public.sqlserver.reportingsvcs' started by Stephanie, Apr 11, 2007.

  1. Stephanie

    Stephanie Guest

    We need to have the same basic report available both within the application
    and outside the application. We'd like to find a solution that does not
    require us to maintain 2 copies. Within the application, we do not need
    report header information as it will be supplied by the app page. Outside
    the application, we need report header information.

    We were thinking about creating the initial version of the report without
    header information to be used within the application. Then, outside the
    application, we would just call the report as a subreport within another
    report that just has the header information.

    Is this the correct way to go about this? Any other suggestions?
    Stephanie, Apr 11, 2007
    1. Advertisements

  2. Stephanie

    EMartinez Guest

    That sounds like the best solution. Another way could be to
    conditionally show the header information based on a hidden report
    parameter passed to the report from the application.


    Enrique Martinez
    Sr. Software Consultant
    EMartinez, Apr 11, 2007
    1. Advertisements

  3. Stephanie

    Stephanie Guest

    Thanks for your feedback. That sounds interesting. I know how to implement
    a hidden report parameter. Can you give me some more detail on how to
    conditionally hide the header based on that parameter?
    Stephanie, Apr 11, 2007
  4. Stephanie

    Andy Potter Guest

    Put all the Page Header content inside a rectangle, then control the
    visibility of said rectangle.
    Andy Potter, Apr 11, 2007
  5. Stephanie

    EMartinez Guest

    You could include a textbox control in the header and have an
    expression something like this in it:
    =iif(Parameters!MakeInvisible.Value = "True", Nothing, "Header
    Information Here")
    Hope this helps.


    Enrique Martinez
    Sr. Software Consultant
    EMartinez, Apr 12, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.