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: History Property Values
Topic Summary:
Created On: 10-Oct-2002 23:29
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 Tuesday, November 5, 2002 3:39 PM

Answer:
Refer to </lib/dxl/example/hist.dxl> in your DOORS installation for an example.

h.attrName only works if ( ht == createAttr || ht == modifyAttr || ht == deleteAttr )
h.absNo only works if ( ht == createObject || ht == copyObject || ht == modifyObject )
h.numberOfObjects only works if (ht == createType || ht == modifyType || ht == deleteType)

So, some If-Then checking is mandatory when using History Types.
 10-Oct-2002 23:29
User is offline View Users Profile Print this message


Doina Scafaru

Posts: 28
Joined: 16-Sep-2002

Did anybody out there experience "fun" with history? I did. I get DXL error messages when the property value is changed in the example below.

History h

for h in current Module do print h.sessionNo

I had tried type, author, date, sessionNo and it went O.K. I got errors when I used attrName, absNo, numberOfObjects. Can you explain to me, please, where am I mistaking and what shall I do?

I will appreciate very much your prompt feedback.

Best Regards!

Doina Scafaru
Report this to a Moderator Report this to a Moderator
 11-Oct-2002 16:51
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Answer Answer
Refer to </lib/dxl/example/hist.dxl> in your DOORS installation for an example.

h.attrName only works if ( ht == createAttr || ht == modifyAttr || ht == deleteAttr )
h.absNo only works if ( ht == createObject || ht == copyObject || ht == modifyObject )
h.numberOfObjects only works if (ht == createType || ht == modifyType || ht == deleteType)

So, some If-Then checking is mandatory when using History Types.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.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.