all groups > sql server reporting services > october 2006 >
You're in the

sql server reporting services

group:

Can report content be generated dynamically?


Can report content be generated dynamically? Chris G.
10/31/2006 2:55:02 PM
sql server reporting services:
SSRS 2005

I have figured out how to use a custom code assembly to dynamically control
the content of the textboxes in the footer of my report.

For example, I have an expression like this in one of the textboxes:
=Code.OakRptLib.BuildPageFooterLeft()

This approach assumes that the textboxes already exist in the report footer.

I am trying to build custom code assemblies that allow my reports to be
dynamically configured in a consistent, standard manner at run time.

Ideally when the report starts up I would like to dynamically create these
text boxes in the report footer so that I can make sure they all use the same
font settings, positioning, content, etc.

Is there a way that I can dynamically create these text boxes in the report
footer when the report first starts processing? For example with code in the
OnInit() method?

--
RE: Can report content be generated dynamically? weilu NO[at]SPAM online.microsoft.com
11/1/2006 12:00:00 AM
Hello Chris,

Based on my research, you could not dynamically create a report item in the
code.

The only thing you may do is using a program to dynamically create a rdl
file.

Since the RDL file is a XML format, you could use the .NET program to
generate a RDL file.

Hope this will be some help for you.

Sincerely,

Wei Lu

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
RE: Can report content be generated dynamically? Chris G.
11/2/2006 8:57:02 AM
Thanks Wei!

Did Steven Cheng have any ideas about this?

-- Chris

--
Chris, SSSI


[quoted text, click to view]
RE: Can report content be generated dynamically? weilu NO[at]SPAM online.microsoft.com
11/3/2006 12:00:00 AM
Hello Chris,

I have discussed with Steven, and he also confirmed this.

I suggest you may try some suggestion from Chris Conner in other post: "Can
I obtain a reference to a report item?"

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
RE: Can report content be generated dynamically? weilu NO[at]SPAM online.microsoft.com
11/7/2006 12:00:00 AM
Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button