Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     conditional problems in stylesheet?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
conditional problems in stylesheet?
 Login/Join
 
Master
posted
This is really throwing me for a loop.

I'm getting this error:
(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 35: MACRO=PERMITGTSAND


DEFMACRO=PERMITGTSAND, MACTYPE=RULE, WHEN=PERMIT_DATE_DISP GE 1000,$

line 35:
TYPE=DATA, COLUMN=PERMIT_DATE, COLOR=RGB(51 153 102), STYLE=BOLD, MACRO=PERMITGTSAND,$

Am I missing something in the syntax?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Expert
posted Hide Post
Jason,

quote:
WHEN=PERMIT_DATE_DISP GE 1000,$


NocanDo.

in your TABLE request, after all columns

COMPUTE FLAG/A1 = IF PERMIT_DATE_DISP GE 1000 THEN 'Y' ELSE 'N'; NOPRINT

then

DEFMACRO=PERMITGTSAND, MACTYPE=RULE, WHEN=FLAG EQ 'Y',$


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Master
posted Hide Post
why does it work that way?
because it's an aggregate?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Guru
posted Hide Post
I don't know what is wrong. When I cut and pasted your code into a fex of mine (changing the column name) I got your error. But when I recreated the syntax from scratch, it works.
Now when I cut an paste your code, it still works.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Master
posted Hide Post
Well, I got it to work with Tom's method.
I don't know why you're getting the results that you are N.Selph, thank you for trying it out.

thanks tom for your help.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     conditional problems in stylesheet?

Copyright © 1996-2020 Information Builders