![]() |
Telelogic Lifecycle Solutions (steve huntington) | ![]() |
Topic Title: Generating documents using Custom Reports Topic Summary: How? Created On: 26-May-2005 01:52 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I posed this question to Telelogic support...
"When we create documents, we have to run Create Custom Report 3 times. Once for the title page, once for the header and once for the body of the document. When creating custom report for each of the 3 parts of the doument, we have to manually place the cursor at the correct position, choose the project, the module, the template to use and then click run. As you can imagine, for lots of documents, this takes some time. For example, it took me 2 hrs the other day to create 6 documents, and that is with me being familiar with the process and using a powerful machine. Is there a way to create a complete document in one hit? which includes title page, header footer and body? Is there a way to create documents in batches? through scripting perhaps? or through VBA macros (since DocExpress is integrated with word)?" Has anyone had the same issue? Have you been able to resolve it? Is there a better way on creating documents? Any help much appreciated. |
|
![]() |
|
![]() |
|
You can create a report using DocExpress Word to generate the title, header, and body, and then save it as a template. If you want to reuse this template for your other modules (which will create the same type of reports), just copy over your varfile and rename the important elements like module name, path, view names and what not that you used to create your report. Make a config file containing your input file, output file, and varfile names. In the end you can create a batch file that will run each DocExpress with a different config file for each module. So one click of a button can create all the reports you need.
|
|
![]() |
|
![]() |
|
Thanks Michelle for your reply.
I'm still trying to digest what you wrote but it seems that you have been able to do what I haven't been able to (but wanted to) do. Interesting thing is that Telelogic support just emailed me today saying that a one click document genenerating procedure can not be done. Hopefully by trying what you've suggested, we can prove them wrong and help out other users with the same issues. I will try out your suggestions and let you know how it goes (I may have to ask you for more detail if I get stuck). Thanks again. PS how long have you been using docexpress? |
|
![]() |
|
![]() |
|
Hi,
I was just curious to find out what the follow up to this is. Were you able to accomplish what you had set out to do? Kim Turner Orbital Sciences |
|
![]() |
|
![]() |
|
Hint: use the general DocExpress/Word variables @EXECUTE and @INCLUDE in your template. These 2 variables allow you to generate and insert sub-document.
|
|
![]() |
|
![]() |
|
How does @execute and @include work? I didn't understand the documintation.
|
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.