Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter passing

Status
Not open for further replies.

RandomActofKindness

Programmer
Joined
Jun 14, 2002
Messages
1
Location
CA
Hi,
I have a report that contains a subreport. The report passes the subreport a clientid, and a locationid. The subreport is from a stored procedure (in SQL server 2000). What I want to do is take the clientid parameter that is passed from the report to the subreport and pass that to the stored procedure (The stored procedure is: create proc myproc(@cid) as...). However, I can't find a way to set the @cid parameter field that is automatically created in Crystal to equal to the clientid passed from the main report. Is this even possible? Any advice is appreciated.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top