Changeset 541 for cprs/branches/tmg-cprs/CPRS-Chart/fReportsPrint.pas
- Timestamp:
- Aug 12, 2009, 7:14:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/fReportsPrint.pas
r453 r541 345 345 Patient.DFN, uHSComponents, RemoteSiteID, RemoteQuery, uHState)); 346 346 aCaption := piece(uRemoteType,'^',4); 347 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );347 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 348 348 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 349 349 end; … … 360 360 Patient.DFN, uHSComponents, RemoteSiteID, RemoteQuery, uHState)); 361 361 aCaption := piece(uRemoteType,'^',4); 362 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );362 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 363 363 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 364 364 end; … … 374 374 FindVType; 375 375 aCaption := piece(uRemoteType,'^',4) + ';1'; 376 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );376 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 377 377 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 378 378 end … … 382 382 Patient.DFN, uHSComponents, RemoteSiteID, RemoteQuery, uHState)); 383 383 aCaption := piece(uRemoteType,'^',4); 384 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );384 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 385 385 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 386 386 end; … … 396 396 FindVType; 397 397 aCaption := piece(uRemoteType,'^',4) + ';1'; 398 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );398 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 399 399 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 400 400 end … … 404 404 Patient.DFN, uHSComponents, RemoteSiteID, RemoteQuery, uHState)); 405 405 aCaption := piece(uRemoteType,'^',4); 406 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );406 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 407 407 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 408 408 end; … … 419 419 Patient.DFN, uHSComponents, RemoteSiteID, RemoteQuery, uHState)); 420 420 aCaption := piece(uRemoteType,'^',4); 421 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );421 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 422 422 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 423 423 end; … … 434 434 Patient.DFN, uHSComponents, RemoteSiteID, RemoteQuery, uHState)); 435 435 aCaption := piece(uRemoteType,'^',4); 436 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );436 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 437 437 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 438 438 end; … … 452 452 Patient.DFN, uHSComponents, RemoteSiteID, RemoteQuery, uHState)); 453 453 aCaption := piece(uRemoteType,'^',4); 454 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg );454 PrintWindowsReport(FReportText, PAGE_BREAK, aCaption, ErrMsg, Application); //kt 8/09, Added ',Application' 455 455 if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK); 456 456 end;
Note:
See TracChangeset
for help on using the changeset viewer.