Cagliostro
Programmer
I've seen already a thread about passing values, but this does not seem to be right one for my sityation.
I have a main report what have fields A,B,C...
and I have a subreport what have a stored procedure as a source, for example MyProc.
I want the subreport to use field A as a parameter for MyProc.
The subreport have a query or a stored procedure as source
I want to call the procedure like this:
exec MyProc @A, @B, @C...
Or the query like this
select .... from XXXXX where A=@A and B=@B and C=@C...
Anyway, parameters @A, @B, @C have to be initialized with values from the main report fielts A, B, C.
Is that possible?
I'm using CrystalReport what comes with VisualStudio2005 (a reduced version)and the database MSSQL 2005
Ion Filipski
I have a main report what have fields A,B,C...
and I have a subreport what have a stored procedure as a source, for example MyProc.
I want the subreport to use field A as a parameter for MyProc.
The subreport have a query or a stored procedure as source
I want to call the procedure like this:
exec MyProc @A, @B, @C...
Or the query like this
select .... from XXXXX where A=@A and B=@B and C=@C...
Anyway, parameters @A, @B, @C have to be initialized with values from the main report fielts A, B, C.
Is that possible?
I'm using CrystalReport what comes with VisualStudio2005 (a reduced version)and the database MSSQL 2005
Ion Filipski