Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: connect subreport with stored procedure Post Reply Post New Topic
Author Message
aussie_1968
Newbie
Newbie


Joined: 14 May 2008
Online Status: Offline
Posts: 7
Quote aussie_1968 Replybullet Topic: connect subreport with stored procedure
    Posted: 12 Jun 2008 at 5:27pm
hi,
 
i have a report with a subreport.
the main report has an ID wich should be used as the parameter of the stored procedure for the subreport.
 
what i have in the subreport so far are the vars I32VesselID (stored proc) and Pm-......ID (vesselId of the main report).
how do i set the var of the stored proc to be that of the main report ?
 
under CR->Report->SelectionFormula->Record i have tried
{?I32VesselID} = {?Pm-.....ID}
but it still sais "ParameterFieldCurrentValueException was unhandled by user code" - "Missing parameter vaues"
 
has anyone got an idea ?
 
thanks in advance
   Martin
 
 
PS.  using VS 2008
IP IP Logged
Ebyoct82
Newbie
Newbie


Joined: 18 Mar 2008
Online Status: Offline
Posts: 1
Quote Ebyoct82 Replybullet Posted: 16 Aug 2008 at 8:50pm
Hi
    Right click on sub report link in main report. select 'change subreport links....'. Select The field from available fields. Then link with corresponding parameter filed of  subreport.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.