Hi to all!

I have a problem with my data report.

when I pass these values to the parameters for the first time, it will produce the output correctly. On the second processing, the output will never change. The output is still the same.
An example is when I input values for dates of sales that occured in range with November 11 - November 16, it will produce the correct output. However, in the second processing like I input values like dates December 1 and December 25, the output does not change. It will display the sales from November 11 - November 16.

Here is the code...
VB Code:
  1. Private Sub cmdProcessReport_Click()
  2.       deOrders.Commands(6).Parameters(0).Value = s_date
  3.       deOrders.Commands(6).Parameters(1).Value = e_date
  4.     End Sub
  5.    
  6.     Private Sub cmdViewReport_Click()
  7.        rptSalesReport.WindowState = vbMaximized
  8.        rptSalesReport.Show
  9.     End Sub
Is this has something to do with the parameters passed to the data environment command qrySalesReport?

Hoping for any response....