Interwizard
Programmer
I would appreciate anyone's help with this: I'm sure it's just me being stupid.
I have a subreport that needs to do a subquery.
Select * from psl.dbo.ipoxmitpobreakdown where bponum = (select distinct bponum from psl.dbo.ipoxmitPObreakdown where bponum=@ponum or ponum=@ponum)
i haven't figured a way to do the subquery with crystal (is there?) So, I decided to use a good ol' stored procedure (the sql statement above)
I was the stored procedure of the subreport to be passed the the po parameter of the parent report. How do I do that? Conincidentally, when I create report to use the stored procedure and try to save it ( i was going to pass the parameter through code) I get an application error. (Memory could not be "read", cpw32.exe, blah blah, blah.)
What should I do? If I could just pass the parameter to a subquery in the selection formula for the subreport, that'd be great. I looked at the SQL statement it generates, but I wasn't too sure if it would accept the paramters required.
Thanks!
Bill
I have a subreport that needs to do a subquery.
Select * from psl.dbo.ipoxmitpobreakdown where bponum = (select distinct bponum from psl.dbo.ipoxmitPObreakdown where bponum=@ponum or ponum=@ponum)
i haven't figured a way to do the subquery with crystal (is there?) So, I decided to use a good ol' stored procedure (the sql statement above)
I was the stored procedure of the subreport to be passed the the po parameter of the parent report. How do I do that? Conincidentally, when I create report to use the stored procedure and try to save it ( i was going to pass the parameter through code) I get an application error. (Memory could not be "read", cpw32.exe, blah blah, blah.)
What should I do? If I could just pass the parameter to a subquery in the selection formula for the subreport, that'd be great. I looked at the SQL statement it generates, but I wasn't too sure if it would accept the paramters required.
Thanks!
Bill