Kbase P13140: RB: cannot print Word-Wrap field in the header.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/12/2003 |
|
Status: Unverified
FACT(s) (Environment):
Windows 2000
FACT(s) (Environment):
Windows 2000 Advanced Server
SYMPTOM(s):
Cannot print Word-Wrap field in the header.
Report Engine
In the report builder preview it works fine. Not when the 4GL procedure run it.
CAUSE:
Maybe a bug, but i could not reproduce that.
CAUSE:
The exact cause is unknown at the time of this writing.
FIX:
It is possible to workaround this problem by passing the field you want to print in the header as run time parameter using RB-OTHER-PARAMETERS.
So in the call of the report engine write:
"rtHeader = " + string(myHeader), /* RB-OTHER-PARAMETERS */
The myHeader contains the string you want to print in the header.
In Report Builder create a Calculated Field, let's call it fHeader:
RUNTIME-PARAMETER("rtHeader")
Now go to the header and press "insert field".
Select the "User Defined Fields" List. Now select the "fHeader" field from the Field List.
Press the Insert button.