DrillOnGroup Event (Window Object)

Sample Code - DrillOnGroup Event

The DrillOnGroup event occurs when drilling down (double-clicking) on a group field in the preview window.

Syntax
Event DrillOnGroup (GroupNameList, DrillType As CRDrillType,
useDefault As Boolean)
Parameters

GroupNameList

Specifies an array indicating the path to the group that was drilled down on (separated by "/").

DrillType

Specifies CRDrillType (see table below) indicating what type of drill- down occurred.


Constant Value


crDrillOnGraph

2


crDrillOnGroup

0


crDrillOnGroupTree

1

useDefault

Specifies Boolean value indicating whether the default settings should be used. Assign useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do not want drill-down to occur).

ReportName

Reserved for future use.

Remarks

Before enabling this event, the CanDrillDown property of the PrintWindowOptions Object, must be set to TRUE. This event is enabled by using the GroupEventEnabled property of the EventInfo Object, obtained through the EventInfo property of the Report Object. For more information, see Object Model Events.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com