Gets or sets the current settings of the PrintOnlyIfDetail Property.
[IsPrintOnlyIfDetail :=] PRINTONLYIFDETAIL([SetPrintOnlyIfDetail])  | 
Parameters
- SetPrintOnlyIfDetail
 - Type: Boolean The new setting of PrintOnlyIfDetail Property.
 
Property Value/Return Value
Type: Boolean
true if the PrintOnlyIfDetail Property is set to true; otherwise, false.
Example
The following example is from the OnAfterGetRecord trigger of a report. If the PrintOnlyIfDetail property is true and if a GLEntryPage record exists, given the current filters, then the PageGroupNo is incremented. This example requires that you create the following variables.
| Variable name | DataType | Subtype | 
|---|---|---|
GLEntryPage  | Record  | G/L Entry  | 
PageGroupNo  | Integer  | Not applicable  | 
 Copy Code | |
|---|---|
IF CurrReport.PRINTONLYIFDETAIL AND GLEntryPage.FIND('-') THEN
  PageGroupNo := PageGroupNo + 1; | |
Example
The following example sets the value of the PrintOnlyIfDetail Property to true. It requires that you create a Report variable named Report111. The Subtype of the variable is report 111, Customer - Top 10 List.
 Copy Code | |
|---|---|
IsPrintOnlyIfDetail := Report111.PRINTONLYIFDETAIL(true);  | |






