I am using VB6 to pass two datetime parameters to a crystal reports (8.5)main report. This works fine.
I then have a sub report that I also pass these two date parameters to. The dates are a startdate and enddate.
The sub report is connected to a table with a date field and I have selected both date parameters as linking to the sub report date field. I can successfully display the date parameters in the sub report but I am unable to get any filtering formula to work. I simply want the sub report date field to be between the parameter startdate and enddates.
Is it OK to link the sub report date field to both parameters? If so how do I get a filter to work using the parameters in a formula.
Regards
I then have a sub report that I also pass these two date parameters to. The dates are a startdate and enddate.
The sub report is connected to a table with a date field and I have selected both date parameters as linking to the sub report date field. I can successfully display the date parameters in the sub report but I am unable to get any filtering formula to work. I simply want the sub report date field to be between the parameter startdate and enddates.
Is it OK to link the sub report date field to both parameters? If so how do I get a filter to work using the parameters in a formula.
Regards