SetXFilter Method
Description
Sets the filter for second entity, called a cross filter.Sets the filter for second entity, called a cross filter.
Syntax
Visual Basic
Public Sub SetXFilter( _
   ByVal CrossEntities As String, _
   ByVal Inclusive As Boolean, _
   ByVal FilterText As String _
) 
Parameters
CrossEntities
Possible values: BUG-ALERT, BUG-REQ, BUG-TEST, BUG-TESTSET, REQ-ALERT, REQ-BUG, REQ-TEST, REQ-TO-FROM-REQ, RUN-BUG, TEST-ALERT, TEST-BUG, TEST-INSTANCE-ALERT, TEST-REQ, TEST-TESTSET, TEST-VER_CTRL, TESTCYCL-ALERT,
TESTSET-BUG, TESTSET-TEST, TSTEST-BUG, TSTEST-REQ, TSTEST-TEST-REQ, and TSTEST-TSTEST-REQ.Possible values: BUG-ALERT, BUG-REQ, BUG-TEST, BUG-TESTSET, REQ-ALERT, REQ-BUG, REQ-TEST, REQ-TO-FROM-REQ, RUN-BUG, TEST-ALERT, TEST-BUG, TEST-INSTANCE-ALERT, TEST-REQ, TEST-TESTSET, TEST-VER_CTRL, TESTCYCL-ALERT,
TESTSET-BUG, TESTSET-TEST, TSTEST-BUG, TSTEST-REQ, TSTEST-TEST-REQ, and TSTEST-TSTEST-REQ.
Inclusive

If True, the filter specifies the set of objects where the conditions for the first entity and for the second entity are all true.

If False, the filter specifies the set of objects where the conditions for the first entity are true and the conditions for the second entity are not true.

If True, the filter specifies the set of objects where the conditions for the first entity and for the second entity are all true.

If False, the filter specifies the set of objects where the conditions for the first entity are true and the conditions for the second entity are not true.

FilterText
A TDFilter.Text or a string that would be a valid TDFilter.TextA TDFilter.Text or a string that would be a valid TDFilter.Text
Remarks

The best way to ensure that the Filter text is valid, is to create a TDFilter with the cross-filter conditions, and use its Text property as this value.

The best way to ensure that the Filter text is valid, is to create a TDFilter with the cross-filter conditions, and use its Text property as this value.

See Also