| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Crystal8 Class >====== HasExportButton (display export button on report preview) ====== | [[hasclosebutton display close button on report preview .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[haslaunchbutton display launch button on report preview .htm|{{btn_next_n.gif|Next 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)**