phoReport - cDRPreview¶
Type¶
Handle (readonly)
Default¶
0
Description¶
Needs to be set to the object ID of the cDRReport object. If the cDRPreview object is created via the DisplayReport method with a pePreviewStyle set to C_DRPREVIEW_VIEW, this property is automatically set to the report object. The command bar toolbar objects can make use of this property.
In the example code below, the phoReport property is retrieved, and a message to navigate to the last page of the report is sent to that object ID.
Sample¶
Procedure PreviewLastPage
Handle hoReport
Get phoReport to hoReport
If (hoReport <> 0) Begin
Send PreviewLastPage of hoReport
End
End_Procedure