on 03-01-2011 4:09 PM
I generate a report from a web page based on a value in a list. The first time the report is run, the data is correct, all following times, the data does not change from the first time.
I run the program in the debugger, to make sure that the value from the list is being parameter to the report is being passed, and it is.
When I display the parameter on the report, it shows the old value.
Language VB
Visual Studio 2010
Windows XP
Hello,
Not much info but try adding the Report.Refresh to the viewer code or after you have set up all of the changes.
Thank you
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I was looking for solutions I found that suggestion and had already tried it. I tried it again.
Adding:
crViewer.RefreshReport()
Results in:
Error
Missing parameter values.
I have been messing with this for a couple hours, and the only way I can get it to display the proper data is to redirect away to another page that does nothing but redirect back the report page. It is kind of a ridiculous solution, but maybe another clue as to why it is doing it.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.