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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
 private void bunifuCustomLabel1_Click(object sender, EventArgs e)
 {
     report = new NotesReport();
     report.SetParameterValue(0, userID);
     report.SetParameterValue(1, "22-DEC-2000");
     report.SetParameterValue(2, System.DateTime.Now);
     crystalReportViewer1.ReportSource = report;
 }
Example #3
0
 private void bunifuCustomLabel2_Click(object sender, EventArgs e)
 {
     report = new NotesReport();
     report.SetParameterValue(0, userID);
     report.SetParameterValue(1, Convert.ToDateTime(dateTimePicker1.Value.Date));
     report.SetParameterValue(2, Convert.ToDateTime(dateTimePicker2.Value.Date));
     crystalReportViewer1.ReportSource = report;
 }
Example #4
0
        public ShowNotesReport(Form1 form)
        {
            InitializeComponent();
            ths = form;
            string userName = ths.userName.Text.ToLower();

            userID = ths.userID;
            report = new NotesReport();
            report.SetParameterValue(0, userID);
            report.SetParameterValue(1, "31-DEC-2000");
            report.SetParameterValue(2, System.DateTime.Now);
            crystalReportViewer1.ReportSource = report;
        }