- Timestamp:
- Jul 10, 2010, 11:30:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientLetter.cs
r789 r848 53 53 throw new Exception("At least one clinic must be selected."); 54 54 } 55 _dtBegin = dtBegin; 56 _dtEnd = dtEnd; 57 string sBegin = dtBegin.ToShortDateString(); 58 string sEnd = dtEnd.ToShortDateString(); 59 this.Text="Clinic Schedules"; 60 61 string sSql = "BSDX CLINIC LETTERS^" + sClinicList + "^" + sBegin + "^" + sEnd; 62 string sSql2 = "BSDX RESOURCE LETTERS^" + sClinicList; 63 55 56 _dtBegin = dtBegin; // Global variable to use in Printing method below 57 _dtEnd = dtEnd; // ditto 58 59 this.Text="Clinic Schedules"; 60 61 // Get Data 62 DataTable PatientAppts = docManager.DAL.GetClinicSchedules(sClinicList, dtBegin, dtEnd); 63 DataTable Resources = docManager.DAL.GetResourceLetters(sClinicList); 64 65 // Merge tables into typed dataset 64 66 _dsApptDisplay = new dsPatientApptDisplay2(); 65 _dsApptDisplay. BSDXResource.Merge(docManager.RPMSDataTable(sSql2, "Resources"));66 _dsApptDisplay. PatientAppts.Merge(docManager.RPMSDataTable(sSql, "PatientAppts"));67 _dsApptDisplay.PatientAppts.Merge(PatientAppts); 68 _dsApptDisplay.BSDXResource.Merge(Resources); 67 69 68 70 this.PrintPreviewControl.Document = printAppts; … … 81 83 /// <param name="dtBegin">Beginning Date</param> 82 84 /// <param name="dtEnd">End Date</param> 85 /// working on moving this over... 83 86 public void InitializeFormRebookLetters(CGDocumentManager docManager, 84 87 string sClinicList,
Note:
See TracChangeset
for help on using the changeset viewer.