
September 13th, 2007, 09:12 AM
|
|
Contributing User
|
|
Join Date: Feb 2005
Posts: 61
Time spent in forums: 1 Day 3 h 58 m 27 sec
Reputation Power: 4
|
|
Error in Crystal Reports
Hi
I am passing date parameters to crystal report my code is given below :
Code:
Private Sub Command1_Click()
CrystalReport1.ReportFileName = App.Path & "\reports\report1.rpt"
CrystalReport1.ParameterFields(0) = "@date_to;date(2007,05,31);true"
CrystalReport1.ParameterFields(1) = "@date_from;date(2006,07,1);true"
CrystalReport1.Action = 1
End Sub
when i executes i got the message "Error Time Error '20534' " Error detected by database DLL.
can anyone help me out with it ???
I am using Crystal reports 8.5
|