Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: How to create a view by using filter
Topic Summary:
Created On: 11-Sep-2002 11:13
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Antonio Monzon, on Thursday, September 19, 2002 11:45 AM

Answer:
I had some problems while saving a custom filter. That's why I created a specific DXL to solve my problem in general. This also allowed me to easily create custom menu options to open different filtered views on my module. Here is the code:

void Load_view (string view_name, string filter_attr, string filter_val) { load view view_name filtering on

Filter f = attribute filter_attr == filter_val set f refresh current } // function ends

// Main Load_view("", "", "")

Hope this hepls!
 12-Sep-2002 11:13
User is offline View Users Profile Print this message


Hong Zhang

Posts: 29
Joined: 12-Sep-2002

Hi there,

Is there anyone can give a help on the script that create sereveral views for a module by using filter, for example attribute a == "good"?

Any help is highly appreciated!!!

thanks, hong

Report this to a Moderator Report this to a Moderator
 12-Sep-2002 11:15
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

You can apply any filter you like and then save it as a new view. This is easy using the standard doors options.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 12-Sep-2002 11:16
User is offline View Users Profile Print this message


Antonio Monzon

Posts: 1
Joined: 12-Sep-2002

Answer Answer
I had some problems while saving a custom filter. That's why I created a specific DXL to solve my problem in general. This also allowed me to easily create custom menu options to open different filtered views on my module. Here is the code:

void Load_view (string view_name, string filter_attr, string filter_val) { load view view_name filtering on

Filter f = attribute filter_attr == filter_val set f refresh current } // function ends

// Main Load_view("", "", "")

Hope this hepls!
Report this to a Moderator Report this to a Moderator
 16-Sep-2002 22:20
User is offline View Users Profile Print this message


Hong Zhang

Posts: 29
Joined: 12-Sep-2002

Thanks a lot Tony and Antonio!

I solved the problem with your help.

Thanks again!
hong
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.