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: Setting current folder
Topic Summary: Inconsistent results when setting folder
Created On: 1-Sep-2008 14:32
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.
 1-Sep-2008 14:32
User is offline View Users Profile Print this message


Mark Williamson

Posts: 79
Joined: 12-Sep-2005

Hi,

I need to set the current folder for future processing based upon a user interface selection. I have managed to establish the user selection and am trying to set the folder using the syntax

current = folder "Folder A"

When executed the following error is occasionally displayed in the DXL output window

Create Adhoc Test.inc:29> null value passed to DXL command (current Folder)
Backtrace:
<Line:23>

Any help is much appreciated

Regards

Mark

-------------------------

mark_williamson@synthesys.co.uk
http://www.synthesys.co.uk
----------------------------------------
Report this to a Moderator Report this to a Moderator
 1-Sep-2008 14:42
User is offline View Users Profile Print this message


Mark Williamson

Posts: 79
Joined: 12-Sep-2005

Think I may have juct cracked it by putting closeFolder() prior to setting the current folder.

Mark

-------------------------

mark_williamson@synthesys.co.uk
http://www.synthesys.co.uk
----------------------------------------
Report this to a Moderator Report this to a Moderator
 3-Sep-2008 16:12
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

"Folder A" (without any slashes) is a relative path and will only work when there is a sub-folder "Folder A" in the current folder. You should use an absolute path in the 'folder' command' may look like this:

current = folder("/Folder A")

- Louie
Report this to a Moderator Report this to a Moderator
 3-Sep-2008 16:18
User is offline View Users Profile Print this message


Mark Williamson

Posts: 79
Joined: 12-Sep-2005

Thanks Louie,

I will add that to my ever expanding list of do's

Regards

Mark

-------------------------

mark_williamson@synthesys.co.uk
http://www.synthesys.co.uk
----------------------------------------
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.