![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to create table and copy it to a text file on dxl Topic Summary: Created On: 15-Sep-2008 19:00 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I am extracting data from a view. I want to add the data from the view to a table as an out put file. How Can I do that?
That means I want to draw a table in a text file by dxl. Cheers, Sam |
|
![]() |
|
![]() |
|
It would probably be easier to just do a dump it to Excel, but if have to go to a *.txt file use the Stream type.
i.e. Stream str = write ("C:\test.txt") You would then need to go through each object and and then each attribute on the object outputing the data to the text file like: str << o."Object Text" " " If you want to get really fancy and put lines around everything to make it look like a table you can out put "-" and "|", but that's going to get difficult. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Thanks Scott,
Is there any function to make a table to a text file. I have already collected the data from view, I just need to create a table to insert the values to the cells and dump it to a text file. Cheers, Sam |
|
![]() |
|
![]() |
|
nope, no function that I'm aware of.
That's gonna be one you'll have to develop on your own. ------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.