Hello,
I declared a variable in my report, and I have a form that shows up before the report is rendered.
I'd like the variable to be set to the value the user wrote in my form.
I tried to init the variable with the expression "myFormField.Text" but it gives me an error.
Is there a way to do what I want?
Thanks.
How to initialize a variable from a form field
Re: How to initialize a variable from a form field
Hello,
Could you explain your issue in more details?
Also, please send us a simple report which reproduces the issue for analysis.
Thank you.
Could you explain your issue in more details?
Also, please send us a simple report which reproduces the issue for analysis.
Thank you.
Re: How to initialize a variable from a form field
I upload an example report.
I try to set a variable "myVariable" to the value of the name field in the form, but i get an error (that I cannot display) in the preview.
I try to set a variable "myVariable" to the value of the name field in the form, but i get an error (that I cannot display) in the preview.
- Attachments
-
- ReportArgumentsSql.mrt
- (27.53 KiB) Downloaded 256 times
Re: How to initialize a variable from a form field
Hello,
In this case, try to set the ReadOnly property for the variable.
Thank you.
In this case, try to set the ReadOnly property for the variable.
Thank you.