RemoveUnselectedGroup (Property)

Applies To:

QueryOptions object

Description:

Removes all dimension groups that are not in the selected group.

Action:

Read-write, Boolean

Example:

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

if (ActiveDocument.Sections["QueryOptions"].Shapes["CheckBox9"].Checked)
	{ActiveDocument.Sections["Query"].QueryOptions.RemoveUnselectedGroup = true}
else {ActiveDocActiveDocument.Sections["Query"].QueryOptions.RemoveUnselectedGroupument.Sections["Query"].QueryOptions.RemoveUnselectedGroup = false}