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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stored proc with input para and subreport

Status
Not open for further replies.

alank01

Programmer
Jun 11, 2001
21
US
crystal 8.5 sql 2000 stored procedures with input para.

main report proc1 with p1,p2,p3
sub report 1 proc2 with p1,p2,p3
sub report 2 proc3 with p1,p2,p3

question: while report is printing can a requery of a stored procedure in a sub report be issued with changed values of p1,p2,p3

for example if sub report 1 is embedded in a group on the main report and the group value changes the stored procedure para should be changed to reflect this fact and the SP should hopefully requery with appropriate information.

thanks, i hope i have asked a reasonable clear question. [neutral]



 
If you link the paramter of the subreport to the group field of the main report ( a 'linked subreport' ) then it should run with a different parameter value for each group. Right click on the subreport object in design and select 'change subreport links'. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top