|
-
Dec 8th, 2005, 10:15 PM
#1
data report output still the same
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:
Private Sub cmdProcessReport_Click()
deOrders.Commands(6).Parameters(0).Value = s_date
deOrders.Commands(6).Parameters(1).Value = e_date
End Sub
Private Sub cmdViewReport_Click()
rptSalesReport.WindowState = vbMaximized
rptSalesReport.Show
End Sub
Is this has something to do with the parameters passed to the data environment command qrySalesReport?
Hoping for any response....
-
Dec 8th, 2005, 10:40 PM
#2
Lively Member
Re: data report output still the same
why don't you try "rptsalesreport.refresh" before passing parameters.
-
Dec 8th, 2005, 11:20 PM
#3
-
Dec 8th, 2005, 11:41 PM
#4
Re: data report output still the same
Are you using a client-side cursor?
-
Dec 9th, 2005, 12:05 AM
#5
-
Dec 9th, 2005, 12:07 AM
#6
Re: data report output still the same
-
Dec 9th, 2005, 12:57 AM
#7
Re: data report output still the same
Crystal, right? Open the report, and under the File menu... make sure the "Save Data With Report" option is TURNED OFF. For what ever reason, this is turned on by default. We ran into this problem we ran into early on with CR until some one figured it out.
-tg
-
Dec 9th, 2005, 01:03 AM
#8
Re: data report output still the same
Hi!!!
Im still using the built in data report designer....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|