StiMobileDesigner: Display Variable Value in Report
Posted: Thu Oct 27, 2016 3:05 pm
Hi, my company is using StiMobileDesigner, and I have encountered a problem displaying a variable in the report.
The variable is created programmatically by
e.Report.Dictionary.Clear();
e.Report.RegData(ds);
e.Report.Dictionary.Variables.Add("Location","<ALL>");
e.Report.Dictionary.Variables["Location"].RequestFromUser = false;
e.Report.Dictionary.Synchronize();
In designer, I can see the variable having the correct value "<ALL>". Then I drag it to the report, it creates two textbox and the value is used as {Location} in expression.
When I Preview the report, the value is not showing.
Please see the attachment, and anyone please help.
The variable is created programmatically by
e.Report.Dictionary.Clear();
e.Report.RegData(ds);
e.Report.Dictionary.Variables.Add("Location","<ALL>");
e.Report.Dictionary.Variables["Location"].RequestFromUser = false;
e.Report.Dictionary.Synchronize();
In designer, I can see the variable having the correct value "<ALL>". Then I drag it to the report, it creates two textbox and the value is used as {Location} in expression.
When I Preview the report, the value is not showing.
Please see the attachment, and anyone please help.