Focal Point
[SOLVED] ]TEXT/DISP value of a HTML Control

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9877027486

November 28, 2016, 05:49 AM
iBeny
[SOLVED] ]TEXT/DISP value of a HTML Control
I have come accross something while WF7 to WF8 migration.
in WF7 , for example we have a Combo Box control 'cboreport' bound to '&cboreport' variable.
The webfocus code is using '&cboreport_TEXT' to retrieve the Text/Display value of the Control.

&cboreport_TEXT is not bound to any control.

Somehow it gives the 'Display' value of the Control.
I was not aware of any such property of Webfocus Variable.
If anyone of you know this, can you tell how is it governed.
Some of the reports are using &varname_TEXT of the variables to display report titles and stuff.

This message has been edited. Last edited by: Tamra,


Webfocus 8105,8808,7703,7611, EXL2K,HTML,PDF,COMT,AHTML Info Assist+ , Reportcaster
November 28, 2016, 06:01 AM
Dave
if you check the "send display value" in the properties of a inputcontrole in the HTML editor....

...you'll get an extra parameter with the same name as the parameter with _TEXT as suffix.

e.g.

&WEEK_NUMBER
&WEEK_NUMBER_TEXT

that's it.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
November 28, 2016, 03:36 PM
Waz
FYI

In V8.1.04, there is a bug, that only sends &_TEXT.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!