Example #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            TransactionReport rpt = new TransactionReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (transaction == null)
     {
         transaction = new TransactionReport();
     }
     viewer.ViewerCore.ReportSource     = transaction;
     viewer.ViewerCore.SelectionFormula = "{allaboutteeth_billings1.billing_dateadded} in Date(" + ((DateTime)from.SelectedDate).Year + "," + ((DateTime)from.SelectedDate).Month + "," + ((DateTime)from.SelectedDate).Day + ") TO Date(" + ((DateTime)to.SelectedDate).Year + "," + ((DateTime)to.SelectedDate).Month + "," + ((DateTime)to.SelectedDate).Day + ") and {allaboutteeth_users1.user_username} = \"" + dentist.Text + "\"";
 }