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

sql server reporting services

group:

Access to report objects fom custom code


Re: Access to report objects fom custom code sullins602
3/15/2006 9:23:03 AM
sql server reporting services:
hmm...In the past what I've done is setup c# classes and just
referenced them from the report...

try this: http://msdn2.microsoft.com/en-us/library/ms155798.aspx

Hope this helps!
--
Ben Sullins
http://bensullins.com
RE: Access to report objects fom custom code Limey
3/15/2006 11:11:30 AM
Unfortunatley it is not possible to access any report objects. You'll need
to pass anything you need as parameters into your functions.

[quoted text, click to view]
Access to report objects fom custom code news.microsoft.com
3/15/2006 12:15:07 PM
I can write custom code in my report through the "Report -> Properties"
dialog.

Can this code access any of the report object such as data or Custom Report
Items ?

What context is this code running under ? I tried to figure it out using
reflector and got to a dead end on a internal class called
ReportExprHostImpl.CustomCodeProxy that doesn't seem to have a reference to
anything in the report.

--
Francisco Padron
www.chartfx.com

AddThis Social Bookmark Button