I created a crystal report where it has to display records between two dates. and the dates are used in the formaulae in crystal report.

I cann't use selection formulae as the two dates are used in the formulaes of the crystal report

Eg:- display records between starding date and ending date

The formulae in the report includes like

iif( "table.date < sdt", do this, do that)

For this i created two parameter field and used in the report. when preview the report it prompts for the parameter and input the value and works fine.

Now i need to include the report in my application and the parameter should be passed through the application.

Please any one help me regarding this

thanx