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: Saving a module
Topic Summary:
Created On: 15-Sep-2004 15:50
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.
 15-Sep-2004 15:50
User is offline View Users Profile Print this message


SRINIVAS GANDHAM

Posts: 17
Joined: 2-Sep-2004

I have made some changes to a module through DXL - like creation of attributes. Now I try to save the module as follows:

save current

At this point of time I am not prompted with a save dialog. So, I am assuming the changes have been committed.
Now if I try to close the module graphically I am prompted with "Module has been modified and you will loose changes". do you want to save." dialog. If I say no the changes are not saved.

My question is what is the role of save module command. And how can i save changes to a module programatically without prompting the user with a warning dialog.

Thanks
Babu
Report this to a Moderator Report this to a Moderator
 15-Sep-2004 15:57
User is offline View Users Profile Print this message


Antonio Norkus

Posts: 109
Joined: 28-Jun-2003

Use the command

save current Module

Your call to current is ambiguous, so I'm not sure what is "really" saved :-)

Antonio.
Report this to a Moderator Report this to a Moderator
 15-Sep-2004 16:52
User is offline View Users Profile Print this message


SRINIVAS GANDHAM

Posts: 17
Joined: 2-Sep-2004

Thanks Antonio.

It worked.

Babu
Report this to a Moderator Report this to a Moderator
 21-Sep-2004 23:00
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You should routinely get a module handle when working on a module: mCurr = current. Then you can save(mCurr) or close(mCurr).
Report this to a Moderator Report this to a Moderator
 28-Sep-2004 14:36
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Can I second that Louie.

Never trust "current". There be dragons here.

-------------------------
Tony Goodman
http://www.smartdxl.com
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.