Jump to content

Webfocus8 - How do I stop style sheets from reports in the same page affecting each other


Glyn Derby

Recommended Posts

A single page has two or more reports on it, each has its own style settings

the example here is that the MACRO in report 2 is affecting the report formats of report 1

Report 1 has

ON TABLE SET STYLE *

$

TYPE=REPORT,

GRID=OFF,

SIZE=9,

JUSTIFY=CENTER,

$

$

TYPE=HEADING,

LINE=1,

JUSTIFY=LEFT,

SIZE=10,

STYLE=BOLD,

$

$

TYPE=TITLE,

COLOR=RGB(255 255 255),

BACKCOLOR=RGB(26 140 175),

JUSTIFY=CENTER,

$

$

TYPE=DATA,

COLUMN=N1,

JUSTIFY=RIGHT,

$

$

TYPE=GRANDTOTAL,

SIZE=10,

COLOR=RGB(255 255 255),

STYLE=BOLD,

BACKCOLOR=RGB(26 140 175),

$

 

Report 2 has

 

ON TABLE SET STYLE *

$DEFMACRO=CONDHILITE,

MACTYPE=RULE,

WHEN=N12 GE 3000,

$

$

TYPE=REPORT,

GRID=OFF,

SIZE=9,

$

$

TYPE=HEADING,

LINE=1,

JUSTIFY=LEFT,

SIZE=10,

STYLE=BOLD,

$

$

TYPE=TITLE,

COLOR=RGB(255 255 255),

BACKCOLOR=RGB(26 140 175),

JUSTIFY=CENTER,

$

$

TYPE=DATA,

COLUMN=N12,

BACKCOLOR=RGB(255 255 0),MACRO=CONDHILITE,

$

END

-EXIT

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...