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: aCreate a table
Topic Summary:
Created On: 27-Oct-2006 14:27
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.
 27-Oct-2006 14:27
User is offline View Users Profile Print this message


Phil Allen

Posts: 3
Joined: 26-Oct-2006

Does anyone have experience creating DOORS tables with DXL?

I have a module that contains signal characteristics for electrical signals for several connectors.

I need to create tables in a new module, one table for each signal, and populate the table with characteristics from the signal module.

Table needs to have each cell set to the correct size as the table is created.

Any help gratefully received

Phil Allen

Report this to a Moderator Report this to a Moderator
 31-Oct-2006 14:48
User is offline View Users Profile Print this message


Neal Middlemore

Posts: 35
Joined: 24-Mar-2005

Phil,


 


I am doing something similar at the moment. Basically I use this:

dest_o."Object Heading" = strSrcMsgName
   dest_t = table(below dest_o, msgRow, 5)
   setAllCellsShowChangeBars (dest_t, false)
   setAllCellsBorder (dest_t, left, solidBorder)
   setAllCellsBorder (dest_t, right, solidBorder)
   setAllCellsBorder (dest_t, bottom, solidBorder)
   setAllCellsBorder (dest_t, top, solidBorder)

to create the table. I then use the iteration of

for row in dest_t do {
 for cell in row do {
  if (rownum = 0) {
    if (cellnum = 0) {
     cell."Object Text" = strSigName
     setCellWidth (cell, 450)
      }
    if (cellnum == 1) {
     cell."Object Text" = strSigSrc
     setCellWidth (cell, 100)
     }

etc

Hope that helps.....

Neal



Edited: 31-Oct-2006 at 14:49 by Neal Middlemore
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.