Previous Topic

Next Topic

Report Functions

Function

Description

Abort

Terminates code being executed immediately.

AddressType

Returns the type of address selected.

BinName

Returns the Bin Name if the report destination is "Printer".

CashInvoice

Returns True if the currently printing Invoice document is processing as a Cash Sale Invoice.

Available in IN Invoice Document design script editors.

ChargeName

Returns the Charge Name for a Charge Code.

Available in OE Packing Slip and IN Invoice Document design script editors.

CloneQuery

Returns a read-only clone of the report query results that can be used for anything required without effecting the state of the reporting engine.

CopyInvoice

Returns True if the Print as Copy selection box has been checked for the currently printing Invoice.

Available in IN Invoice Document design script editors.

CopyNumber

Returns the current label copy number.

Available in Label Designer script editors.

CreateObject

Creates an automation object.

CopyOrder

Returns True if the Print as Copy selection box has been checked for the currently printing Purchase Order.

Available in PO Purchase Order Document design script editors.

CrossTabCount

Returns the number of columns resulting for cross tabbed fields.

Available in Analysis Reports only.

CurrentIteratorName

Returns the name of the current iterator.

Duplex

Returns the printer duplex mode.

EmailFilename

Returns the Email Filename.

Available in Email Designers only.

EmailSubject

Returns the Email Subject normally used.

Available in Email Designers only.

GetComponent

Returns the named component.

Available in Report Designers only.

IsBatch

Returns True if the current email is a Batch email, otherwise False.

Available in Email Designers only.

LabelCopies

Returns total number of labels being printed for the currently printing label.

Available in Label Designer script editors.

LastPage

Returns True if the current page is the final page of the report and the function is in a Summary, PageFooter or Overmark band, that is, one that can determine that all detail bands have been printed, or False.

PackingSlip

Returns True if the currently printing Invoice document is being printed as a Packing Slip.

Available in IN Invoice Document design script editors.

PageHeight

Physical page height.

PageNumber

Currently printing page number.

PageOfNumber

Returns "Page X of Y" where X is current page and Y is total pages for the document or report.

PageRemaining

Physical page space remaining to print on.

PageWidth

Physical page width.

PartNumber

Returns the PartNumber for multi-part forms.

Period

For reports and document that have an as at period selection returns the PeriodID for the selected period.

PivotTable

Returns a pivoted memory table.

ReplaceQuery

Replaces the SQL Query.

Used within the AfterQuery code.

PrinterName

Returns the printer name.

ReportDate

Returns the Report Date.

ReportDestination

Returns the destination for the report.

ReportFileName

Returns the file name of the report.

ReportPreview

Returns True if the report was generated as a Preview.

ReportTitle

Returns the title of the report.

RestartIterators

Restarts report from first iterator.

Available in GL Report Designer only.

SelectBin

Select printer bin (tray).

SetDuplex

Set the printer to duplex mode.

StatementDate

Returns the Statement Date if available.

StatementPeriod

Returns the Statement Period if available.

StatementStyle

Returns the Statement Style for the customer.

Sum

Return total values for field parameters.

Available in Analysis Reports only.

In This Section

Abort - MaxBasic Function

AddressType - MaxBasic Function

BinName - MaxBasic Function

CashInvoice - MaxBasic Function

ChargeName - MaxBasic Function

CloneQuery - MaxBasic Function

CopyInvoice - MaxBasic Function

CopyNumber - MaxBasic Function

CopyOrder - MaxBasic Function

CreateObject - MaxBasic Function

CrossTabCount - MaxBasic Function

CurrentIteratorName - MaxBasic Function

Duplex - MaxBasic Function

EmailFilename - MaxBasic Function

EmailSubject - MaxBasic Function

GetComponent - MaxBasic Function

IsBatch - MaxBasic Function

LabelCopies - MaxBasic Function

LastPage - MaxBasic Function

PackingSlip - MaxBasic Function

PageHeight - MaxBasic Function

PageNumber - MaxBasic Function

PageOfNumber - MaxBasic Function

PageRemaining - MaxBasic Function

PageWidth - MaxBasic Function

PartNumber - MaxBasic Function

Period - MaxBasic Function

PivotTable - MaxBasic Function

ReplaceQuery - MaxBasic Function

PrinterName - MaxBasic Function

ReportDate - MaxBasic Function

ReportDestination - MaxBasic Function

ReportFileName - MaxBasic Function

ReportPreview - MaxBasic Function

ReportTitle - MaxBasic Function

RestartIterators - MaxBasic Function

SelectBin - MaxBasic Function

SetDuplex - MaxBasic Function

StatementDate - MaxBasic Function

StatementPeriod - MaxBasic Function

StatementStyle

Sum - MaxBasic Function

See Also

MaxBasic Functions

Book Contents

Book Index