Re: Crystal Reports: Stored procedure in subreport not getting called
I think that the Stored Procedure is executing but you are not passing good parameters
There is a ?MainReport parameter in main report and you want to pass the same parameterto sub report.
Then, in sub report create a ?SubReport parameter of same data type
>> right click sub report
>> change sub report links
>> select ?MainReport parameter in "Field(s) to link to"
>> select ?SubReport parameter from the "Subreport parameter to use" dropdownlist
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
Re: Crystal Reports: Stored procedure in subreport not getting called
Hi Jg,
THanks for the reply.
I have given the link from main report to sub report in the same manner.
I have displayed the paramaeters in the sub report and they are coming through.
But only the stored proc results m not seeing
Re: Crystal Reports: Stored procedure in subreport not getting called
I got the solution..
The SP was getting hit in reality.
I was not doing a null check in my sp so it would return no results at all
SO with the null checks on, I am getting the sub reports..
thanks
Bookmarks