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: Open a module in DXL
Topic Summary: whether a module opened, if not open it.
Created On: 24-Feb-2005 12:55
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 Michael Sutherland, on Thursday, February 24, 2005 4:28 PM

Answer:
Thanh,

Try the attached code:
 24-Feb-2005 12:55
User is offline View Users Profile Print this message


Thanh Lam

Posts: 17
Joined: 3-Feb-2005

I need dxl codes that checks if a module is opened, if not open it. The following code works fine if the target module opened, otherwise it shows errors at run time. Thanks in advance!
Report this to a Moderator Report this to a Moderator
 24-Feb-2005 13:41
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Answer Answer
Thanh,

Try the attached code:

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 24-Feb-2005 13:44
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

if ! open target l then read(fullName target l, true)

use 'edit' or 'share' in place of 'read' and 'false' instead of 'true' if you don't want to display the module
Report this to a Moderator Report this to a Moderator
 24-Feb-2005 16:27
User is offline View Users Profile Print this message


Thanh Lam

Posts: 17
Joined: 3-Feb-2005

Thanks guys! It works great! Thanks again!

Edited: 24-Feb-2005 at 16:30 by Thanh Lam
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.