Showing posts with label header. Show all posts
Showing posts with label header. Show all posts

Sunday, March 11, 2012

Can inherited from a custom report

I must make many report in my project.
All the reports must have header of company name and footer of page number.
Can I desgin a template custom report, then all reports in my project are
inherited from it?Create a Report with the Bare Bones on it for your template and then save
that RDL in
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\PrivateAssemblies\ProjectItems\ReportProject
This "template" will now pop up in your context menu when you select to add
a new item to your report project.
Hope this helps.
"ad" wrote:
> I must make many report in my project.
> All the reports must have header of company name and footer of page number.
> Can I desgin a template custom report, then all reports in my project are
> inherited from it?
>
>|||David,
Great idea.. I have been just opening up a report I named template.rdl and
viewing the code and copying it into the new report. Your method is slicker.
Another option is not to do any formatting until the end and run the .rdl
(which is XML) through a custom app that adds the formatting and such. This
does require a good understanding of XML and the RS spec though. I recommend
the template option.|||This is great but what if you need to change something in the template. None
of your previous reports will inherit the change.
I wish we could use a stylesheet and place it on the webserver and have the
reports pickup the formatting from that.
"Craig" wrote:
> David,
> Great idea.. I have been just opening up a report I named template.rdl and
> viewing the code and copying it into the new report. Your method is slicker.
> Another option is not to do any formatting until the end and run the .rdl
> (which is XML) through a custom app that adds the formatting and such. This
> does require a good understanding of XML and the RS spec though. I recommend
> the template option.

Sunday, February 12, 2012

Can I Overlay Rows in a Table?

I've created a table with two group header rows and a detail row. I would
like the second group header to 'overlap with' the detail row when the
report prints. Is this possible? And if so, how do I go about
accomplishing this?
Thanks!Very good question. I'm curious as to how to do this too. Sorry this
isn't a helpful response, but hopefully others see this thread who can
answer it and know there's an interest.
Cindy wrote:
> I've created a table with two group header rows and a detail row. I would
> like the second group header to 'overlap with' the detail row when the
> report prints. Is this possible? And if so, how do I go about
> accomplishing this?
> Thanks!|||I don't want to hide my detail lines. I want my second group header to
print in the same visual row as my first row of detail.
Below is the best I can do with a textual visualization:
[Group Header #1]
[Group Header #2] Detail
Detail
Detail|||Thanks BYU,
That sounds like an approach. My second group header contains a memo field
with a lot of word-wrapping. My hope was that it would 'overlay' however
many detail lines it wraps out to. I believe with your suggestion I would
get a large space between my first detail row and my second row.
My crude illustration of what I am after:
[Group Header #1]
[Group Header #2 [Detail Row 1]
that could potentially [Detail Row 2]
wrap to multiple lines of [Detail Row 3]
text] [Detail Row 4]
[Detail Row 5]
[Group Header #1]
Your solution as I understand it:
[Group Header #1]
[Group Header #2 [Detail Row 1]
that could potentially
wrap to multiple lines of
text]
[Detail Row 2]
[Detail Row 3]
[Detail Row 4]
[Detail Row 5]
[Group Header #1]