$root.$ireports.REPORT

Parent: $root.$ireports
 
Children 

Class notation

Properties Methods 

Properties

Object specific 
$appendfileIf true,and printing to file,the file is appended instead of being replaced
$autoejectIf true,pages are ejected automatically
$backiconidThe icon identifier of the report background image.If set,must refer to either an icon set icon or an icon in a page with alpha support.If set,it takes precedence over $backpicture
$backpictureThe report background picture;if $backiconid is set,$backpicture is ignored
$borderposPosition mode for page borders in reports
kBordPosLocal kBordPosMargins kBordPosPrintable
$bottommarginThe report bottom margin
$callprintonexportIf true, $print method is called when exporting data
$cdeviceThe current report destination
$charsperinchNumber of characters per inch when printing to a text device
$charsperlineCharacters per line when printing to text device and $restrictpagewidth is true
$copiesNumber of copies to be printed
$cpositionThe current printing position for the next object of the current section
$csectionThe section currently being printed
$editionfileThe edition file name for printing reports to publisher
$exportformatThe export format used by the report
kEXcommas kEXnone kEXodt kEXopl kEXtabs kEXuser
$generatepagesIf true,and printing to text device,pages are generated
$hideuntilcompleteIf true,screen/preview report window is hidden until report is complete
$horzdpiHorizontal dots per inch when printing the image
$horzoffsetHorizontal offset for report background picture
$horzpagesIf true, the report is to print horizontal pages
$inheritedUsed when referring to a method or variable defined in a superclass
$islabelIf true, the report prints as a label report
$istextIf true,the report output will be text based
$labelcountThe number of labels across the page
$labelwidthThe width of each label
$lastpageThe last page which has been started
$leftmarginThe report left margin
$linesperinchLines per inch when printing to a text device
$linesperpageNumber of lines per page when printing to text device and $generatepages is true
$loadpagesetupIf true,the report instance will load the page setup data during construction
$macosdestnamemacOS printer destination file path. The pathname of the output file when $macosdesttype is kPDF or kPostScript
$macosdesttypemacOS printer destination.A constant:kPrinter,kPDF or kPostScript.If the report destination is printer,and the job setup dialog is not opened,the constant specifies the actual destination.For file destinations,$macosdestname is the path
kPDF kPostScript kPrinter
$orientationThe paper orientation
kOrientDefault kOrientLandscape kOrientPortrait
$pagecountThe current page count
$pageheightThe height of the printing area on a page
$pagesThe pages to be printed (empty=all)
$pagesetupdataThe report page setup data
$pagewidthThe width of the printing area on a page
$paperThe paper type
kPa10X11 kPa10X14 kPa11X17 kPa15X11 kPa9X11 kPaA2 kPaA3 kPaA3Extra kPaA3ExtraTrans kPaA3Trans kPaA4 kPaA4Extra kPaA4Plus kPaA4Small kPaA4Trans kPaA5 kPaA5Extra kPaA5Trans kPaA6 kPaAPlus kPaB4 kPaB5 kPaB5Extra kPaB5Trans kPaBPlus kPaCSheet kPaCustom kPaDefault kPaDSheet kPaEnv10 kPaEnv11 kPaEnv12 kPaEnv14 kPaEnv9 kPaEnvB4 kPaEnvB5 kPaEnvB6 kPaEnvC3 kPaEnvC4 kPaEnvC5 kPaEnvC6 kPaEnvC65 kPaEnvDL kPaEnvInvite kPaEnvItaly kPaEnvMonarch kPaEnvPersonal kPaESheet kPaExecutive kPaFanfoldLglGer kPaFanfoldStdGer kPaFanfoldUs kPaFolio kPaIsoB4 kPaIWComputerPaper kPaIWInternationalFanfold kPaJapPostcard kPaLedger kPaNote kPaQuarto kPaStatement kPaTabloid kPaTabloidExtra kPaTSP600LongReceipt kPaTSP600Receipt kPaUsLegal kPaUsLegalExtra kPaUsLetter kPaUsLetterExtra kPaUsLetterExtraTrans kPaUsLetterPlus kPaUsLetterSmall kPaUsLetterTrans
$paperlengthThe length of the paper
$paperwidthThe width of the paper
$picturealignA kPAL... constant which,together with $horzscroll and $vertscroll (and $autoscroll for the JavaScript client),identifies where the picture will be positioned in the field
kPALbottomCenter kPALbottomLeft kPALbottomRight kPALcenter kPALcenterLeft kPALcenterRight kPALtopCenter kPALtopLeft kPALtopRight
$portdatabitsThe port data bits (7 or 8)
kPort7DataBits kPort8DataBits
$porthandshakeThe port handshake (none,xon/xoff,hardware)
kPortHardware kPortNoHandshake kPortXonXoff
$portnameThe name of the port
$portparityThe port parity (none,odd,even)
kPortEvenParity kPortNoParity kPortOddParity
$portprofileThe name of the Port Profile that is to be used
$portspeedThe port baud rate
$portstopbitsThe port stop bits (1 or 2)
kPort1StopBit kPort2StopBits
$printfieldThe field currently being printed
$printfileThe print file name for printing reports to a file
$reccountThe number of record sections printed for the report (#R)
$recordspacingThe report record spacing
$repeatfactorThe report repeat factor
$reportdatanameThe variable to receive report data when printing to memory
$reportfieldThe hwnd to which to send the screen or preview report
$reportfileThe report file name for saving reports to disk.If the report destination is the Omnis PDF device then this is the path of the output PDF;when empty the PDF device will prompt the user for the path if it is not running in a server thread
$restrictpagewidthIf true,and printing to text device,page width is restricted
$rightmarginThe report right margin
$scaleThe scaling factor in percent
$sendformfeedIf true,and $generatepages is true,form feeds are sent to the device
$subvariableThe subtotal variable for the current subtotals section
$topmarginThe report top margin
$vertdpiVertical dots per inch when printing the image
$vertoffsetVertical offset for report background picture
$waitforuserIf true,method execution is halted until screen/preview report is closed
$windowprefsPosition and initial zoom factor for preview windows (Title[/ZOOM=n][/left/top/width/height/CEN/MAX/STK])
Standard$backcolor $backpattern $bordercolor $classtype $effect $forecolor $ident $isprivate $linestyle $name

Methods

Object specific 
$accumulate$accumulate([iSection]) accumulates totals for the report
$checkbreak$checkbreak() checks if a subtotal break is required
 
This compares the current field values with those when it was last called; returns a constant: kSubtotal1 to kSubtotal9 or kNone if no subtotal break is required.
$ejectpage$ejectpage(iNumber) ejects a report page
 
This is sent to a report instance just before a page is ejected. You cannot add to a page once it is ejected; the default handler ejects the page; pages are ejected in order so ejecting a page also ejects all earlier pages. Calling $ejectpage(page number) will start and end all pages before they are ejected. $ejectpage() without a parameter ejects all pages which have been ended and not ejected.
$endpage$endpage(iNumber) ends a report page
 
This is sent to a report instance just before a page is ended (the next page is to be started or the page is about to be ejected). The default handler adds the footer section to the page. Calls to $endpage() for a large number of pages will result in large memory use. $endpage() without a parameter ends all pages which have been started.
$endprint$endprint() print the totals and complete the report
 
This is sent to a report instance by the End print command and in other circumstances when the report is terminated. The default handler prints the final subtotals and totals section and ejects all the remaining pages.
$openjobsetup$openjobsetup([bAlways=kFalse]) opens the job setup dialog when printing to printer or any destination if bAlways is true
 
Can be called immediately after $open() for a report; if it returns kFalse (the user has cancelled), the report instance should be closed without printing any data.
$printrecord$printrecord() print a record section
 
This is sent to the report instance by the Print record command. The default handler prints the record section.
$printsection$printsection(iSection|rPosnSection[,bPosnIsRecord=kFalse]) prints a section.bPosnIsRecord is for positioning sections only.If bPosnIsRecord is kFalse,prints section based on position of previous section;otherwise,prints section as a record
 
This is sent when a section is printed; iSection is one of the constants (kRecord, kTotals, etc.) or a reference to a section field on the report instance. The default handler prints the section positioned according to $sectionstart, $sectionend and the positioning mode for the section. For a subtotal or total section the current field values are temporarily reset to those which were current when $printsection for a detail section was previously called.
$printtotals$printotals(iSection) prints a subtotal or total section
 
This is sent to the report instance when a subtotal break has been triggered or the report is about to be terminated; section is the highest level subtotal to be printed (a constant such as kSubtotal5 or kTotals), if section is not a subtotal or totals section only the subtotal header sections are printed. The default handler prints the correct subtotal sections followed by the corresponding subtotal header sections.
$showmessage$showmessage(cMessage[,cTitle,iOptions=kMsgOK]) displays a message using the specified cMessage,cTitle and iOptions (a sum of kMsg... constants).Returns true for OK or Yes,false for No or cancel.Use msgcancelled() to check for cancel
$showtoast$showtoast(cMessage[,cTitle,iStyle=kToastSuccess,iStack=kToastStackTopRight,iTimer=4000,bClearStack=kFalse,cContext='']) displays a toast notification using the title and message using the style
$skipsection$skipsection() causes any further processing of the current section to be skipped
 
If you call this during $print() for a field, no further fields will be printed for that section, so positioning sections count as new sections and are not skipped if the previous section was skipped.
$startpage$startpage(iNumber) starts a report page
 
This is sent to a report instance when another page is started.The default handler adds the page header section to the page: for the first page, the default handler also adds the report header section to the page. Calls to $startpage for a large number of pages will result in large memory use. Starting a page always ends the previous page (only one page is started and not ended).
Standard$canclose $close

Children

Top 

$ivars$methods$objs$sorts
$tvars