Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > Crystal8 Class >====== HasExportButton (display export button on report preview) ====== Previous pageReturn to chapter overviewNext page

HasExportButton (| hasexportbutton |)

HasExportButton Allow an export button on the report preview window.

hasexportbutton An integer constant, variable, EQUATE, or expression that specifies whether an export button will appear on the reports preview window. A value of one (1) displays the export button; a value of zero (0) does not display the export button.

The HasExportButton method is used to optionally display an export button on the report preview window. This method returns a BYTE representing the value of hasexportbutton.

Return Data Type: BYTE

Example:

oCrystal8.HasExportButton(1)