#ifndef __ORXCONST_H__ #define __ORXCONST_H__ ///////////////////////////////////////////////////////////////////////////// // // ORActiveXConst.h // // Copyright (c) Oracle Corporation 1996. All Rights Reserved, Worldwide. // // Oracle Developer/2000 Reports Server ActiveX control predefined constants // ///////////////////////////////////////////////////////////////////////////// // // OutputDestinationConstants // Constants used for OutputDestination property values. // #define orOD__FIRST 0 #define orODInReport 0 // Output report value specified in report file. #define orODToLocalFile 1 // Output report to local File (if you using remote Reports Server, output will be transferred to local filesystem). #define orODToFile 2 // Output report to File (output to a file on a Reports Server side). #define orODToPrinter 3 // Output report to Printer. #define orODToMail 4 // Output report to Mail. #define orODToScreen 5 // Output report to Screen Window. #define orODToPreview 6 // Output report to Previewer Window. #define orODToServerCache 7 // Output report to Reports Server File Cache only. #define orOD__LAST 7 // // ReportModeConstants // Constants used for ReportMode property values. // #define orRM__FIRST 0 #define orRMInReport 0 // Use value specified in report file. #define orRMBitmapMode 1 // Run report in Bitmap mode. #define orRMCharacterMode 2 // Run report in Character mode. #define orRM__LAST 2 // // CallModeConstants // Constants used for CallMode property values. // #define orCM__FIRST 0 #define orCMCallLocal 0 // Spawn local Reports Runtime Executable. #define orCMCallSync 1 // Call Reports Server in Sync Mode (do not return until job is done). #define orCMCallAsync 2 // Call Reports Server in Aync Mode (returns immediately). #define orCM__LAST 2 // // OrientationConstants // Constants used for Orientation property values. // #define orO__FIRST 0 #define orOInReport 0 // Use value specified in report file. #define orOInPrinter 1 // Use orientation currently selected by printer. #define orOPortrait 2 // Use portrait orientation. #define orOLandscape 3 // Use landscape orientation. #define orO__LAST 3 // // OnRunConstants // Constants used for OnRunSuccess and OnRunFailure property values. // #define orOR__FIRST 0 #define orORInReport 0 // Use value specified in report file. #define orORCommit 1 // Perform COMMIT when report is finished. #define orORRollback 2 // Perform ROLLBACK when report is finished. #define orORNoAction 3 // Do nothing when report is finished. #define orOR__LAST 3 // // TraceModeConstants // Constants used for TraceMode property values. // #define orTM__FIRST 0 #define orTMInReport 0 // Use value specified in report file. #define orTMAppend 1 // Append existing Trace Log file with new information. #define orTMReplace 2 // Overwrite exisiting Trace Log file with new information. #define orTM__LAST 2 // // Report run result/progress codes // #define orRes__FIRST 0 #define orResNoError 0 // General Success code. #define orResFailed 1 // Error occured in Oracle Reports OCX Control. #define orResNoComm 10 // Error: Cannot Initialize Reports Server Daemon (make sure that network configured properly and Daemon is running). #define orResNoMemory 11 // Error: Not Enough Memory. #define orResNoResources 31 // Error: Can not run report. System Resources are exhausted: Cannot create thread or thread synchronization object. #define orResParInvalid 32 // Error: Can not run report. Value of one or several properties is invalid. Check values of rhe control properties and try again. #define orResParMissing 33 // Error: Can not run report. Value of one or several mandatory properties (ReportName, DatabaseUser, and ReportsServer, unless local run) where not specified). Specify necessary properties and try again. #define orResLocalExeNotFound 34 // Error: Can not run report. You choose to run report using Local Reports Server executable. It is installed improperly or not found. #define orResTimeout 35 // Specified RunTimeout was reached before report run was successfully completed. Report run state terminated on timeout. #define orResTooManyConnections 36 // Error: Can not run report. Too many active connections to Reports Server Daemon exists. Try again later. #define orResListenerNone 37 // Error: Can not run report. Reports Server Daemon is not answering. Make sure daemon is properly installed and running. #define orResListenerBusy 38 // Error: Can not run report. Reports Server Daemon is busy and refuses to connect. Try again later. #define orResListenerBad 39 // Error: Can not run report. Cannot connect to the Reports Server Daemon. Network tns Daemon name is invalid or unknown. Check your network setup. #define orResBadCommandLine 40 // Error: Can not run report. Reports Server Daemon refuse passed command line. Check values of control properties. #define orResBadSchedule 41 // Error: Can not run report. Reports Server Daemon refuse passed scheduling parameters. Check values of control properties. #define orResServerShutdown 42 // Error: Can not run report. Reports Server is shutting down. Try again later. #define orResServerError 43 // Error: Can not run report. Error occured while queueing report on Reports Server. Server resources might be exhausted. Try again later. #define orResExecutableBad 44 // Error: Can not run report. Runtime executable is corrupted or has wrong binary format. #define orResNoSuchJob 45 // Reports job does not exists or already finished. #define orResJobEnqueued 46 // Report is running: Job is enqueued by Reports Server Daemon. #define orResJobRunning 47 // Report is running: Job is running by Reports Server Engine. #define orResJobParForm 48 // Report is running: Reports Server Engine displaying report parameter form and awaits for user input. #define orResJobPreviewer 49 // Report is running: Reports Server Engine displaying report preview and awaits for user input. #define orResJobFinished 50 // Report run is finished with success. #define orResJobTerminated 51 // Report run is finished. Error(s) occured during report run. #define orResJobCrashed 52 // Reports Server Fatal Error: Reports Server Engine crashed while trying to run report job. #define orResJobCancelled 53 // Report run is finished. Report job was cancelled on user's or administrator's request. #define orResSecurityProblems 54 // Error: Cannot perform requested operation due to security problems - Check your priveleges, userid and password strings. #define orResCallServerInProgress 55 // Communicating with Reports Server Daemon. #define orResCallServerSubmitted 56 // Report request was successfully initialized and awaits permission to call Reports Server Daemon. #define orResCallServerInit 57 // Initiating request for Report Server Daemon. #define orResExecutingLocal 58 // Running Report using Local Reports Server on local machine. #define orResJobOpeningReport 59 // Report is running: Reports Server Engine opening and reading report definition file. #define orResOutputDestinationInvalid 60 // Error: Can not run report. Value of OutputDestination property set to ToScreen or ToPreview. Interactive destination allowed only for local run. Change value and try again. #define orResLocalFileNotFound 61 // Error: Can not run report. Value of one of the properties specifies a filename which does not exist. Correct the filename and try again. #define orResLocalFileBad 62 // Error: Can not run report. Value of one of the properties specifies a filename which cannot be created or opened. Correct the filename and try again. #define orResOutputTransfer 63 // Report was run successfully. Transferring report output from remote server to a local file... #define orResNoOutputTransfer 64 // Report run is finished with error: Report output is not available or cannot be transferred to a local filesystem. It may be because report run was terminated with error or file input/output error occured. #define orResLocalOutputNameBad 65 // Report run is finished with success. However, report output cannot be transferred to a local filesystem. It may be because a local filename is bad or cannot be created or opened. #define orResServerIOFailed 66 // Error: Reports Server detected file input/output failure. #define orResClientIOFailed 67 // Error: File input/output failure on local machine. Check local filesystem. #define orResBadJobTolerance 68 // Error: Unable to interprete time tolerance. Check value of a JobTolerance property. #define orResBadReportName 69 // Report name is not specified. Check value of a ReportName property. #define orResBadDatabaseUser 70 // Database logon is not specified. Check value of DatabaseUser,DatabasePassword,DatabaseName properties. #define orResListenerNLS 71 // Cannot connect to the Reports Server. The Reports Server of given tns name of is using a different character set you are using, and different enough that conversion is not possible. #define orResNoCache 72 // Can not run report: Value of report DestinationType is set to ToServerCache. This destination type is not allowed for local report runs (i.e.when local Reports Background Engine is used - CallMode is Local). Set the correct destination and try again. #define orResNoOutputName 73 // Report output name is not available. #define orRes__LAST 73 ///////////////////////////////////////////////////////////////////////////// #endif // __ORXCONST_H__