PartitionFilter.PartitionValuesResult PropertyGets or sets the PartitionValuesResult property of the PartitionFilter object.object.PartitionValuesResult ([value]) Arguments
Return ValueThe PartitionFilter.PartitionValuesResult property returns the Results object from which to get the partition values.RemarksWhen attempting to set the property value, it is good to check the return value to ensure that the value was set.The following example illustrates the use of the PartitionValuesResult property. try { ActiveDocument.pf1 = new ActiveDocument.PartitionFilter(); Console.Writeln(ActiveDocument.pf1.toString()); // outputs "[Object][PartitionFilter]" to the Console var vTest = ActiveDocument.pf1.QueryToFilter(ActiveDocument.Sections["Q-DataToReport"]); if (typeof vTest == "undefined") throw new Error("Invalid Query: Q-DataToReport"); vTest = ActiveDocument.pf1.FilterItem(ActiveDocument.pf1.QueryToFilter().Limits["Fiscalbienniumid"]); if (typeof vTest == "undefined") throw new Error("Invalid Limit: Fiscalbienniumid"); vTest = ActiveDocument.pf1.PartitionValuesResult(ActiveDocument.Sections["q-MyPartitionValues"]); if (typeof vTest == "undefined") throw new Error("Invalid Query: q-MyPartitionValues"); vTest = ActiveDocument.pf1.PartitionValuesColumn(ActiveDocument.pf1.PartitionValuesResult().Limits["Begin Bien Year"]); if (typeof vTest == "undefined") throw new Error("Invalid Limit: Begin Bien Year"); ActiveDocument.pf1.SetPartition(); // use the data in the PartitionFilter object to set the limit in QueryToFilter } catch (e) { Console.Writeln(e.toString()); } Applies To:PartitionFilter ObjectRequirements |