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: Folder Location of a module
Topic Summary:
Created On: 12-Dec-2006 10:36
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.
 12-Dec-2006 10:36
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

Hello DXLiens,
does anybody know how to get the path of a folder containing a target or source module?
This is how I tried it but that only returns the folder I marked in the database! 
watch the code!

cheers Mussie
Report this to a Moderator Report this to a Moderator
 12-Dec-2006 11:07
User is offline View Users Profile Print this message


Antonio Norkus

Posts: 109
Joined: 28-Jun-2003

Hi Mussie,

once you have the TargetModule, you can use the following code to get the path and use that to get the folder handle:



Report this to a Moderator Report this to a Moderator
 12-Dec-2006 14:24
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

Hi,

I only get the folder containing the target but not the full path up to the root of the database!!
Do you have any Idea?

cheers Mussie 

Report this to a Moderator Report this to a Moderator
 12-Dec-2006 14:35
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

Ok this was easy just write fullName(folder)!!

Report this to a Moderator Report this to a Moderator
 12-Dec-2006 16:02
User is offline View Users Profile Print this message


Antonio Norkus

Posts: 109
Joined: 28-Jun-2003

it's in the "path" string anyhow...

fullName will only give you the path to the nearest ancestor project...use rootName_ for path to the database root
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.