10
Reply

Urgent, how to apply filter to Crystal report

keenweng2001

keenweng2001

Sep 28 2004 3:19 PM
9.7k
hello, i am implementing Crystal report using c# in my program. I set up the report by using the wizard provided in VS.studio .net 2003. The report is displaying all record in the database, i would like to filter to record programmatically , i get an syntax error telling me that the string i type is not valid . CrystalReport1 custReport = new CrystalReport1(); custReport.RecordSelectionFormula ="{UserAccount.DateCreated} = 9/28/2004 12:00:00 AM "; crystalReportViewer1.ReportSource = custReport; what should i do to make it work????thanks

Answers (10)