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

HasSearchButton (| hassearchbutton |)

 

HasSearchButton Allows a search button on the report preview window.

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

The HasSearchButton method is used to optionally display a search button on the report preview window. This method returns a BYTE representing the value of hassearchbutton.

Return Data Type: BYTE

Example:

oCrystal8.HasSearchButton(1)