Focal Point
[SOLVED] Tooltip: Tooltip value from database

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

September 01, 2015, 05:57 AM
Nasar
[SOLVED] Tooltip: Tooltip value from database
Hello Members,

Is there any way to customize the tooltip display value. Basically my need is to display the column values instead of column name(and this column is in a BY). This is a tabular report.
I have tried something like this(plus a few more hit n trials, but each time I end up with a static tooltip Frowner ):
-SET &TOOLTIP_VAL = J7.DIMENSION_TIMELU.LABEL

and then
TABLE FILE QTRCLMETHOLD
SUM
.
.
.
BY QTRCLMETHOLD.QTRCLMET.LABEL_TRIMED AS '&TOOLTIP_VAL'


We are using 8.009 version

Thanks in advance.

This message has been edited. Last edited by: <Kathryn Henning>,


8.06
Windows
September 09, 2015, 07:30 AM
GamP
Tool tip works only with output in html format.
If that is your output method, you can show almost anything as a tool tip.
It is important that the values to be shown are alphanumeric.
In your small example I am assuming that the field use as tool tip is indeed that.
And note that tool tip is something quite different than field name (aka the AS-phrase).
TABLE FILE QTRCLMETHOLD
SUM
.
COMPUTE TTIP/A200 = '<span title="' | J7.DIMENSION_TIMELU.LABEL | '">' | QTRCLMETHOLD.QTRCLMET.LABEL_TRIMED | '</span>';
.
BY QTRCLMETHOLD.QTRCLMET.LABEL_TRIMED NOPRINT

This example will work, but not as BY-field, it has to be a defined or computed field.
Hence the BY ... NOPRINT to ensure the correct sorting.

Hope this helps.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
September 16, 2015, 01:50 AM
Nasar
Thanks GamP, this helped Smiler


8.06
Windows