Focal Point
"TYPE=DATA, COLUMN=N1, FOCEXEC=..." and "ON TABLE SET STYLESHEET ..."

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

March 16, 2004, 08:29 AM
<pranas>
&quot;TYPE=DATA, COLUMN=N1, FOCEXEC=...&quot; and &quot;ON TABLE SET STYLESHEET ...&quot;
Hi gurus,

Are both combinations
* ON TABLE SET STYLESHEET ...
and
* TYPE=DATA, COLUMN=N1, FOCEXEC=...
allowed for the same TABLE FILE request?

Can some one write some example how to use drill-thought and external stylesheet (using *.STY) in the same TABLE FILE request?

Thanks,
Pranas
March 16, 2004, 09:27 AM
Mikel
I think it's not possible to use both simultaneously.

Particularly, I always use ON TABLE SET STYLE * in every report and -INCLUDE in order to also use a general style.

ON TABLE SET STYLE *
-* General style.
-INCLUDE GENSTY
-* Particular style.
TYPE=DATA, COLUMN=N1, FOCEXEC=...
ENDSTYLE
Regards,
Mikel

This message has been edited. Last edited by: <Mabel>,
March 17, 2004, 03:59 AM
susannah
i totally agree with Mikel.
i use -INCLUDE as well to incorporate common style sheet elements within a set of fexes, and then customize each ON TABLE SET STYLE * with the dd's, etc that i need.
I do one thing extra you might like...my drilldown fex names are set as &vars at the top of my fexes.
so.. in all my fexes, &DD0 always means 'the same fex', &DD1 the next one, &DD2 the second one, etc.
So, my -INCLUDE fexes can say for example:
TYPE=DATA,COLUMN=C1,focexec=&DD0(...parms)
so for a given group of fexes, most of the style sheet is the same, just the choice of drilldown fexe names change, and they're set at the top of the fex.