public static void previewOnePageEN() { ReportDocument rpt = rptDoc("BK303"); if (rpt != null) { rpt.SetParameterValue("@tpr_id", Program.CurrentRegis.tpr_id); //rpt.SetParameterValue("@lang", "E"); Report.frmPatientBook frm = new Report.frmPatientBook(); frm.previewRpt(rpt); } }
public static void previewWristbandRpt(string rptCode) { ReportDocument rpt = rptDoc(rptCode); if (rpt != null) { rpt.SetParameterValue("@tpr_id", Program.CurrentRegis.tpr_id); rpt.SetParameterValue("@print_User", Program.CurrentUser.mut_fullname); rpt.SetParameterValue("@mrt_code", rptCode); Report.frmPatientBook frm = new Report.frmPatientBook(); frm.previewRpt(rpt); } }
public static void previewBMICorp(string tcd_code, string month, string printdate, string month_2) { ReportDocument rpt = rptDoc("CO101"); if (rpt != null) { rpt.SetParameterValue("@tcd_code", tcd_code); rpt.SetParameterValue("@month", month); rpt.SetParameterValue("printdate", printdate); rpt.SetParameterValue("month", month_2); Report.frmPatientBook frm = new Report.frmPatientBook(); frm.previewRpt(rpt); } }