I have a function defined in Report->Report Properties-> Code Tab which
I want to access the parameters collection to look for a Debug flag.
I get the following error:
c:\Reports\ReportMockup.rdl There is an error on line 4 of custom code:
[BC30469] Reference to a non-shared member requires an object
reference.
How do I access the Parameters collection within my custom code?In your custom code, use:
Report.Parameters!parameter1.Value
"Paul H" wrote:
> I have a function defined in Report->Report Properties-> Code Tab which
> I want to access the parameters collection to look for a Debug flag.
> I get the following error:
> c:\Reports\ReportMockup.rdl There is an error on line 4 of custom code:
> [BC30469] Reference to a non-shared member requires an object
> reference.
> How do I access the Parameters collection within my custom code?
>
Wednesday, March 7, 2012
Parameters collection
Labels:
access,
code,
collection,
database,
debug,
defined,
flag,
function,
microsoft,
mysql,
oracle,
parameters,
properties-gt,
report-gtreport,
server,
sql,
tab
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment