Share via


ReportRun Class

The ReportRun class generates and prints a report or previews a report on the screen.

Syntax

class ReportRun extends ObjectRun

Run On

Called

Methods

  Method Description
Gg917828.pubmethod(en-us,AX.60).gif addPendingSums Prints the relevant footers of the report.
Gg917828.pubmethod(en-us,AX.60).gif addRangeDescription
Gg917828.pubmethod(en-us,AX.60).gif allPages
Gg917828.pubmethod(en-us,AX.60).gif args Returns the arguments that the object was constructed with. (Inherited from ObjectRun.)
Gg917828.pubmethod(en-us,AX.60).gif arrangeLevelControl
Gg917828.pubmethod(en-us,AX.60).gif arrangeLevelGlobal
Gg917828.pubmethod(en-us,AX.60).gif arrangeLevelNone
Gg917828.pubmethod(en-us,AX.60).gif arrangeLevelSection
Gg917828.pubmethod(en-us,AX.60).gif attach (Overrides the attach Method.)
Gg917828.pubmethod(en-us,AX.60).gif callMenuFunction
Gg917828.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif caption Creates a caption when previewing a report, or a document name when printing a report.
Gg917828.pubmethod(en-us,AX.60).gif clearAllRangeDescriptions
Gg917828.pubmethod(en-us,AX.60).gif collate
Gg917828.pubmethod(en-us,AX.60).gif columnHeadings Provides control of column headings in a report.
Gg917828.pubmethod(en-us,AX.60).gif control Retrieves the control that is being executed.
Gg917828.pubmethod(en-us,AX.60).gif copies
Gg917828.pubmethod(en-us,AX.60).gif copiesTotal Enables marking copies of reports.
Gg917828.pubmethod(en-us,AX.60).gif copy Returns the number of the copy of a report.
Gg917828.pubmethod(en-us,AX.60).gif copyDescription
Gg917828.pubmethod(en-us,AX.60).gif createProgressForm Creates the form that contains progress information.
Gg917828.pubmethod(en-us,AX.60).gif currentYmm100
Gg917828.pubmethod(en-us,AX.60).gif design Gets or sets the name of the design.
Gg917828.pubmethod(en-us,AX.60).gif detach (Overrides the detach Method.)
Gg917828.pubmethod(en-us,AX.60).gif deviceName
Gg917828.pubmethod(en-us,AX.60).gif dialog
Gg917828.pubmethod(en-us,AX.60).gif disableBody
Gg917828.pubmethod(en-us,AX.60).gif disableColumnHeadings
Gg917828.pubmethod(en-us,AX.60).gif disablePageFooter
Gg917828.pubmethod(en-us,AX.60).gif disableSection
Gg917828.pubmethod(en-us,AX.60).gif driverName Returns the printer driver name.
Gg917828.pubmethod(en-us,AX.60).gif enableAllBodies
Gg917828.pubmethod(en-us,AX.60).gif enableBody
Gg917828.pubmethod(en-us,AX.60).gif enablePageFooter
Gg917828.pubmethod(en-us,AX.60).gif enableSection
Gg917828.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif execute Prints the programmable sections of a report.
Gg917828.pubmethod(en-us,AX.60).gif executeBodyColumnHeadings Prints the column headings of a body section in a report.
Gg917828.pubmethod(en-us,AX.60).gif executeColumnHeadings
Gg917828.pubmethod(en-us,AX.60).gif executeControlColumnHeadings Executes the column headings of a programmable section.
Gg917828.pubmethod(en-us,AX.60).gif executeFooter Execute a footer section.
Gg917828.pubmethod(en-us,AX.60).gif executeHeader Executes a header section.
Gg917828.pubmethod(en-us,AX.60).gif executeSection Prints the specified section in the report.
Gg917828.pubmethod(en-us,AX.60).gif fetch Executes the report query and calls the send method for the record that is found by the query.
Gg917828.pubmethod(en-us,AX.60).gif finalize
Gg917828.pubmethod(en-us,AX.60).gif footer Controls the footer.
Gg917828.pubmethod(en-us,AX.60).gif from
Gg917828.pubmethod(en-us,AX.60).gif generateDesign
Gg917828.pubmethod(en-us,AX.60).gif getDeclineOverwrite
Gg917828.pubmethod(en-us,AX.60).gif getNumberOfPrinters
Gg917828.pubmethod(en-us,AX.60).gif getPrinter
Gg917828.pubmethod(en-us,AX.60).gif getRangeDescription
Gg917828.pubmethod(en-us,AX.60).gif getReportViewer
Gg917828.pubmethod(en-us,AX.60).gif getTarget
Gg917828.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif gotoYmm100
Gg917828.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif hasGeneratedDesign
Gg917828.pubmethod(en-us,AX.60).gif header Controls the header.
Gg917828.pubmethod(en-us,AX.60).gif headerDescription
Gg917828.pubmethod(en-us,AX.60).gif heightOfPageFooters
Gg917828.pubmethod(en-us,AX.60).gif indent
Gg917828.pubmethod(en-us,AX.60).gif init
Gg917828.pubmethod(en-us,AX.60).gif isBodyEnabled
Gg917828.pubmethod(en-us,AX.60).gif isDetached Communicates whether an ObjectRun.detach method call has been made on this object. (Inherited from ObjectRun.)
Gg917828.pubmethod(en-us,AX.60).gif jobId
Gg917828.pubmethod(en-us,AX.60).gif last
Gg917828.pubmethod(en-us,AX.60).gif mm100Left
Gg917828.pubmethod(en-us,AX.60).gif mm100PageHeight
Gg917828.pubmethod(en-us,AX.60).gif name Gets or sets the name that is used in code to identify a form, report, table, query, or another MSDAX application object.
Gg917828.pubmethod(en-us,AX.60).gif new Initializes an instance of the ReportRun class. (Overrides the new Method.)
Gg917828.pubmethod(en-us,AX.60).gif newPage
Gg917828.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the ReportRun class.
Gg917828.pubmethod(en-us,AX.60).gif packDesign
Gg917828.pubmethod(en-us,AX.60).gif packPageSettings
Gg917828.pubmethod(en-us,AX.60).gif packPrinterSettings
Gg917828.pubmethod(en-us,AX.60).gif packPrintJobSettings
Gg917828.pubmethod(en-us,AX.60).gif packSubtotalSettings
Gg917828.pubmethod(en-us,AX.60).gif page
Gg917828.pubmethod(en-us,AX.60).gif pageFormatting Displays the printer properties of the printer.
Gg917828.pubmethod(en-us,AX.60).gif pagesTotal
Gg917828.pubmethod(en-us,AX.60).gif passThrough
Gg917828.pubmethod(en-us,AX.60).gif pixelsLeft
Gg917828.pubmethod(en-us,AX.60).gif print Sends the generated report to a print medium, such as a printer or the screen.
Gg917828.pubmethod(en-us,AX.60).gif printerAttributes
Gg917828.pubmethod(en-us,AX.60).gif printerAveragePPM
Gg917828.pubmethod(en-us,AX.60).gif printerComment
Gg917828.pubmethod(en-us,AX.60).gif printerDatatype
Gg917828.pubmethod(en-us,AX.60).gif printerDefaultPriority
Gg917828.pubmethod(en-us,AX.60).gif printerDriverName
Gg917828.pubmethod(en-us,AX.60).gif printerFontInfo Indicates which font is used to print the report.
Gg917828.pubmethod(en-us,AX.60).gif printerLocation
Gg917828.pubmethod(en-us,AX.60).gif printerPageHeight
Gg917828.pubmethod(en-us,AX.60).gif printerPageWidth
Gg917828.pubmethod(en-us,AX.60).gif printerPaper
Gg917828.pubmethod(en-us,AX.60).gif printerParameters
Gg917828.pubmethod(en-us,AX.60).gif printerPortName
Gg917828.pubmethod(en-us,AX.60).gif printerPrinterName
Gg917828.pubmethod(en-us,AX.60).gif printerPrintProcessor
Gg917828.pubmethod(en-us,AX.60).gif printerPriority
Gg917828.pubmethod(en-us,AX.60).gif printerQueuedJobs
Gg917828.pubmethod(en-us,AX.60).gif printerSepFile
Gg917828.pubmethod(en-us,AX.60).gif printerServerName
Gg917828.pubmethod(en-us,AX.60).gif printerSettings Enables the user to select printer settings.
Gg917828.pubmethod(en-us,AX.60).gif printerShareName
Gg917828.pubmethod(en-us,AX.60).gif printerStartTime
Gg917828.pubmethod(en-us,AX.60).gif printerStatus
Gg917828.pubmethod(en-us,AX.60).gif printerUntilTime
Gg917828.pubmethod(en-us,AX.60).gif printJobSettings
Gg917828.pubmethod(en-us,AX.60).gif printSum
Gg917828.pubmethod(en-us,AX.60).gif progressForm
Gg917828.pubmethod(en-us,AX.60).gif progressInfo Creates a string that describes how much of the report has been generated during the execution of a report every time that a section is executed.
Gg917828.pubmethod(en-us,AX.60).gif prompt Prompts the user a report is run.
Gg917828.pubmethod(en-us,AX.60).gif query
Gg917828.pubmethod(en-us,AX.60).gif queryRun
Gg917828.pubmethod(en-us,AX.60).gif report
Gg917828.pubmethod(en-us,AX.60).gif reportUser
Gg917828.pubmethod(en-us,AX.60).gif reset Enables a single instance of the ReportRun class to create multiple reports.
Gg917828.pubmethod(en-us,AX.60).gif rulerCM
Gg917828.pubmethod(en-us,AX.60).gif rulerINCH
Gg917828.pubmethod(en-us,AX.60).gif run Runs the report.
Gg917828.pubmethod(en-us,AX.60).gif screenFontInfo
Gg917828.pubmethod(en-us,AX.60).gif section
Gg917828.pubmethod(en-us,AX.60).gif sectionsLeft
Gg917828.pubmethod(en-us,AX.60).gif send Triggers the body sections that belong to a section group.
Gg917828.pubmethod(en-us,AX.60).gif setEscapeSequence
Gg917828.pubmethod(en-us,AX.60).gif setTarget
Gg917828.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif showMenuFunction
Gg917828.pubmethod(en-us,AX.60).gif showMenuReference
Gg917828.pubmethod(en-us,AX.60).gif sortInfo
Gg917828.pubmethod(en-us,AX.60).gif startDate
Gg917828.pubmethod(en-us,AX.60).gif startDateTime
Gg917828.pubmethod(en-us,AX.60).gif startMachineDate
Gg917828.pubmethod(en-us,AX.60).gif startTime
Gg917828.pubmethod(en-us,AX.60).gif sum
Gg917828.pubmethod(en-us,AX.60).gif sumControl
Gg917828.pubmethod(en-us,AX.60).gif sumControlNeg
Gg917828.pubmethod(en-us,AX.60).gif sumControlPos
Gg917828.pubmethod(en-us,AX.60).gif sumDescription
Gg917828.pubmethod(en-us,AX.60).gif sumNeg
Gg917828.pubmethod(en-us,AX.60).gif sumPos
Gg917828.pubmethod(en-us,AX.60).gif suppressReportIsEmptyMessage
Gg917828.pubmethod(en-us,AX.60).gif title Gets or sets the print job description.
Gg917828.pubmethod(en-us,AX.60).gif to
Gg917828.pubmethod(en-us,AX.60).gif toString Returns a textual description of the class. (Overrides the toString Method.)
Gg917828.pubmethod(en-us,AX.60).gif unpackDesign
Gg917828.pubmethod(en-us,AX.60).gif unpackPageSettings
Gg917828.pubmethod(en-us,AX.60).gif unpackPrinterSettings
Gg917828.pubmethod(en-us,AX.60).gif unpackPrintJobSettings
Gg917828.pubmethod(en-us,AX.60).gif unpackSubtotalSettings
Gg917828.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif userSelectedOrientation
Gg917828.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg917828.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

As opposed to the , which defines the structure of a report, a ReportRun object contains the runtime characteristics of the report.A ReportRun object can be created by using one of the following arguments:

  • An Args object where the name and optionally designName parameters are specified.

  • A created container, by using the for example.

  • The report name and an optional design name.

The section template node type allows the sections to be defined once and reuse them many times in different reports. A typical example of this would be a check or a giro.

Examples

The following example runs the Customer design of the existing Cust report:

static void testReportRun(args a) 
{  
    reportRun rr; 
    args aa = new args("Cust"); 
  
    aa.designName("Customer"); 
    rr = new reportRun(aa); 
    rr.run(); 
}

Inheritance Hierarchy

Object Class
  ObjectRun Class
    ReportRun Class
      SysReportRun Class

See Also

ReportRun.report Method

ReportRun.run Method

ReportRun.new Method