![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DataReport Topic Summary: Create a report includes all projects, modules, links with count number of "shalls" in the module. Created On: 18-Jul-2005 22:53 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
I need to create a report includes all projects, modules, links ... and count number of "shalls" in the module when Item is Formal.
This script works when I have 2 separate scripts: one to report items in the directory and one to count # of shalls. When I combine them together, the script didn't work. If someone could help I would greatly appreciate. |
|||
![]() |
|||
![]() |
|||
The attached is a template I have posted before.
This loop through database, project or folder and has a separate function call for each item type encountered. Modify this so it calls the following function from the processFormal function. This should give you what you want.
------------------------- Tony Goodman http://www.smartdxl.com |
|||
![]() |
|||
![]() |
|||
You seem to be forgetting to open the module and are missing an object loop when you figure out your item type is Formal. I bet you get some sort of null parameter error when you use variable "o". Consider this loop:
for obj in entire mod do { if (isDeleted(obj)) continue // count the Shalls. // Count the number of objects with at least one shall } |
|||
![]() |
|||
![]() |
|||
Yes, you're definately correct! I've added the loop, now I got these error: while (s != "" && hasShall s) { . |
|||
![]() |
Telelogic DOORS
» DXL Exchange
»
DataReport
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.