Sunday, February 12, 2012

Accessing Report Properties in Embedded Code

Is it possible to access report properties in embedded code? An earlier post
was looking to set the visible property of a table column depending on the
"RenderFormat" of the current output. I am also interested in doing this and
began playing in the embedded code window with code similar to..
Public Function MyType()
Return RenderedOutputFile.Type
End
This would fail with a RenderedOutputFile not declared message. I noticed
that the term "Me" works at the field level. Is there a similar way to
reference the current report instance?All properties are read-only. RS BOL contains information about all report
properties accessible within a report:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_expressions_v1_7ilv.asp
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"vmp_pdx" <vmppdx@.discussions.microsoft.com> wrote in message
news:564F2973-B890-4C0E-8C97-92D8213916DE@.microsoft.com...
> Is it possible to access report properties in embedded code? An earlier
post
> was looking to set the visible property of a table column depending on the
> "RenderFormat" of the current output. I am also interested in doing this
and
> began playing in the embedded code window with code similar to..
> Public Function MyType()
> Return RenderedOutputFile.Type
> End
> This would fail with a RenderedOutputFile not declared message. I noticed
> that the term "Me" works at the field level. Is there a similar way to
> reference the current report instance?
>

No comments:

Post a Comment