Enter variable in Viewer
-
- Posts: 16
- Joined: Tue Feb 01, 2011 4:29 am
- Location: Germany
Enter variable in Viewer
Hi guys,
I have designed a report with Reports.WPF, bound it to a SQL Data Source and added a variable to the query (I also checked the option 'request by user'). In the designer, if I switch to preview, I am asked to enter a value for the variable, and the report is filtered. But if I open the report in viewer, the report is empty and the variable field is not shown.
Is there a way to force the user to enter a value, when viewing the report in viewer?
Thanks for help,
Koray
I have designed a report with Reports.WPF, bound it to a SQL Data Source and added a variable to the query (I also checked the option 'request by user'). In the designer, if I switch to preview, I am asked to enter a value for the variable, and the report is filtered. But if I open the report in viewer, the report is empty and the variable field is not shown.
Is there a way to force the user to enter a value, when viewing the report in viewer?
Thanks for help,
Koray
Enter variable in Viewer
Hello,
We couldn't reproduce this bug. Could you explain your issue in more details?
Also please send us a sample project which reproduces the problem.
Thank you.
We couldn't reproduce this bug. Could you explain your issue in more details?
Also please send us a sample project which reproduces the problem.
Thank you.
-
- Posts: 16
- Joined: Tue Feb 01, 2011 4:29 am
- Location: Germany
Enter variable in Viewer
Hi again,
thanks for your reply. We assume that you have opened the viewer by calling report.ShowWithWpf(). If you do, the filter is shown. But we are using the StiWpfViewerControl and setting the report by code like:
And this is the xaml:
When doing this, the view opens, but the filter is not shown. there is no option to filter the report.
As I said, if you do the following:
the filter is shown in the viewer and you can filter the report. But we need to use StiWpfViewerControl. How can I get the Control to show the filter?
Thanks for help,
Koray
thanks for your reply. We assume that you have opened the viewer by calling report.ShowWithWpf(). If you do, the filter is shown. But we are using the StiWpfViewerControl and setting the report by code like:
Code: Select all
var report = new StiReport();
report.Load(@"C:\\Report.mrt");
Viewer.Report = report;
Code: Select all
As I said, if you do the following:
Code: Select all
report.ShowWithWpf();
Thanks for help,
Koray
Enter variable in Viewer
Hello Koray,
Which version of Stimulsoft Reports.Wpf do you use?
Also please check the latest prerelease build.
Thank you.
Which version of Stimulsoft Reports.Wpf do you use?
Also please check the latest prerelease build.
Thank you.
-
- Posts: 16
- Joined: Tue Feb 01, 2011 4:29 am
- Location: Germany
Enter variable in Viewer
Hi gusy,
in the latest version the problem is fixed.
Thanks for help,
Koray
in the latest version the problem is fixed.
Thanks for help,
Koray
Enter variable in Viewer
Hello,
Ok.
Let us know if you need any additional help.
Ok.
Let us know if you need any additional help.