![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DXL code to do a 'contains' on the Filter choices Topic Summary: Why doesn't the normal Filter contain a 'contains' ? Created On: 8-Sep-2008 22:17 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I guess I'll have to do this myself. Just back from a DXL course, so maybe it won't be so hard. Have any of you (we're in 8.1) used a DXL routine to make up your own 'contains' for doing a gross filter on strings?
|
|
![]() |
|
![]() |
|
From the filtering pop-up you select 'Any string or text attribute' from the Attribute drop-down and then the Condition automatically puts in a 'contains' as part of the search criteria. You then just add the word or prase you are looking for in teh Value box and press Apply.
I am using 8.3 but am sure it was the same on 8.1 ------------------------- Laura Aldred Requirements Controller Marshall of Cambridge Aerospace Ltd, UK |
|
![]() |
|
![]() |
|
Example contains dxl:
Module m = current Filter f = contains(attribute "Object Text", "shall", false) set f filtering on But you seems to be more interested in contents commans such as: Filter contents(string text [,bool caseSensitive]) Edited: 9-Sep-2008 at 16:08 by ron lewis |
|
![]() |
|
![]() |
|
Sorry: I didn't make myself clear. I was doing some date arithmetic on changes that were made SINCE a certain date.
That set of choices ...on dates....doesn't give a 'contains' choice. So it really depends on what kind of filter you're trying to set up. Mine was on the attributes 'Created on' and 'Modified on'. Thanks, anyhow. |
|
![]() |
|
![]() |
|
Just one more clarification. That date arithmetic was a bug in 8.1 and fixed in 8.3.
You have to enter mm/dd/year and then DOORS converts it. But because it involves numbers, and calculations, the 'contains' probably isn't applicable. So my problem really wasn't about 'contains' after all. We're converting to 9.0 and I can't wait.. |
|
![]() |
|
![]() |
|
IHMO, the fastest way to use a "contains" filter on an attribute that does not support it, consists in:
2. Creating your filter from the "column" tab I do it at least once a month for applying regular expression to "Object Number". ------------------------- E. Piallat CeBeNetwork |
|
![]() |
|
![]() |
|
I can't remember which version of DOORS added column in the advanced filter but as Eric stated I use it all the time especially for layout dxl columns.
------------------------- Martin |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.