I have a net 2005 crystal report which I'm loading from a web page.
Reports is based on a stored procedure.
It gives an error saying the parameter is not set.
The code is very similar to code I have used before.
The report runs fine in the IDE when I manually provide the parameter value.
I put together another (very simple) report which uses the same stored procedure and hence parameter.
Modified the code slightly to load that report instead.
Works fine.
The only slightly odd thing about my report is it originally had a sub report in it which was using this parameter to link.
I removed the sub report to try and reduce the possible causes of problem(s).
The parameter and stored procedure referred to in the error are those of the main report rather than the sub report.
So I'm thinking the problem is probably in my report (somehow) rather than the c# loading the thing.
OK, maybe a corruption of some sort I thought.
Copy and paste the objects out the original one into my new test report.
But I only get to paste one at a time when I select a bunch to copy.
Which'd mean little time saved over re-writing.
There's pretty complex formatting of lines boxes and whatnot in my report so that'd be a lot of work.
I also tried creating a new report based on the original.
No joy there either.
Anyone else seen something similar?
Anyone got a way to copy and paste groups of objects from one report to another?
Could I programmatically?
Anyone perhaps got a straw I can clutch at?
Thanks in anticipation.