Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TableStyle$ = TEXTITEM$(1)

Expression Data:

 

Code Block
TEXTITEM1=

|Formatted:=True

ParameterBold:=True,

ParameterBackColor:=wdColorGray25,

Font:=Arial 8.5

OutsideBorder:=wdLineStyleSingle wdLineWidth100pt wdColorAutomatic

InsideGrid:=wdLineStyleSingle wdLineWidth050pt wdColorAutomatic

CaseNumbers:=True

TableAlignment:=wdAlignRowLeft|

...

 Expression Reference:

Code Block
Word table style information

 

Example:

ParameterBold:=True,

ParameterBackColor:=wdColorBlack,

Font:=Arial 8.5

OutsideBorder:=wdLineStyleSingle wdLineWidth100pt wdColorAutomatic

InsideGrid:=wdLineStyleSingle wdLineWidth050pt wdColorAutomatic

CaseNumbers:=True

TableAlignment:=wdAlignRowCenter

...

Finally on the top level we make the overall report:

  • Include the

...

  • following parameters in entity Example report

...

  • :

...

  • Report_document$

...

  • and Word_file_name$.

TODO: ----name” and QEntityData”.

You have to modify the total report report.rtf in order to let the overall summary report do its work.

In the template of the total report report.rtf we added #ENTITY#(xx).Document_Tag$#. This is the reference to the parameters Document_Tag$# in the relevant Entities. You have to check whether the QEntityID of the two references in the template are correct. If you modify the RTF document, please remember to check it in Quaestor using the Tools>RTF Template Check... option.

----

  • Finally, create the following relations in

...

  • entity Example report:

Word_file_name$ = "Report_" + STR$(TIME(0)) + ".doc"

Report_document$ = WINWORD$ Report.rtf(Word_file_name$, 0 , ENTITY#(xx).Document_Tag$, ENTITY#(xxx).Document_Tag$)

...

where xx” is

...

the value of QEntityID of entityChapter 1: Main Dimensions

...

and “xxx” of

...

entity Chapter 2: Deck data

...

.

  • To show computed values during a dialogue write “@SHOW” behind “QEntityData”set attribute @SHOW on QEntityData.

Back to content | Continue with Data to Excel >>