IncludeSelectedMember (Property)

Applies To:

QueryOptions object

Description:

Retains the selected member along with the other members retrieved as a result of a drill down.

Action:

Read-write, Boolean

Example:

This example shows how to enable the IncludeSelectedMember (Property) when a check box is checked.

if (ActiveDocument.Sections["QueryOptions"].Shapes["CheckBox7"].Checked)
	{ ActiveDocument.Sections["Query"].QueryOptions.IncludeSelectedMember = true}
else {ActiveDocument.Sections["Query"].QueryOptions.IncludeSelectedMember = false}