Hi, all

I use the crystal report with VB 6 and I have one report with 3 subreports.
Each band works with a stored procedure.

The stored procedures haves the follow parameters:

Subreport 1 - SPU_STATEMENT1 1122 <<<<< Just one parameter
Subreport 2 - SPU_STATEMENT2 1122, '12/31/2005' <<<<< Two parameters, one integer and one date
Subreport 3 - SPU_STATEMENT3 1122 <<<<< Just one parameter

Now, I need the VB 6 application suply these parameters to the report, when I click in one button.

How do I make this?

Thanks since now,

Alex