Notifications
Announcements
No record found.
Hello friends,,Is it possible to change the value of the report parameter from within the processReport() function?Or from within the DC class?
Hi XPRES,
When you say change, do you want to add a new parameter or disable an existing parameter on the contract ?
I have a parameter in the report and I want to send a value to it
As far as you have the parameter defined in the contract class, you can assign value in the processReport().
Yes, this is what I want.. I want to send the user name as an example to show the bottom of the report via a parameter found in the report
Okay, if I get you right, you can to display the value of the parameter on the report design itself.
You can add a text box on the design. Right click to insert an extension. There's a tab that contains the parameter(s). You can insert.
How do I assign the value to a variable from within the class?
Hi,
You can declare the contact class and call the parameter Method.
dataContract.parmAccountNum()
Check this from MS learn.
learn.microsoft.com/.../how-to-use-a-report-data-provider-class-in-a-report
Here the variables are called,
I want the opposite to give the variable a value
For example:-
dataContract.parmAccountNum()="NewValue";
Where will this value come from ?
The user, or you want this value hard coded?
Any value, for example, the username
in coded
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 660 Most Valuable Professional
André Arnaud de Cal... 549 Super User 2025 Season 2
Sohaib Cheema 307 User Group Leader