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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] stylesheet line continuation

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] stylesheet line continuation
 Login/Join
 
Master
posted
I'm trying to make my stylesheet more readable.

Is there a way to continue lines on the next line within my .fex and not get an error? example code (this works fine, but is hard to read)
TYPE=DATA,DRILLMENUITEM='Show Monthly Breakout', FOCEXEC=app/wcqrgj18.fex(REP_GRP_CHRONO='BYMONTH' BEGIN_MONTH=&BEGIN_MONTH END_MONTH=&END_MONTH ), TARGET='_self',$

It's one line in my fex, here is comes across differently.

I would like to allow the name/value pairs to be on seperate lines, like this:
(REP_GRP_CHRONO='BYMONTH'
BEGIN_MONTH=&BEGIN_MONTH
END_MONTH=&END_MONTH ),

Any ideas? Like a line continuation character?

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


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
quote:
REP_GRP_CHRONO='BYMONTH'
BEGIN_MONTH=&BEGIN_MONTH
END_MONTH=&END_MONTH ),


REP_GRP_CHRONO='BYMONTH' \
BEGIN_MONTH=&BEGIN_MONTH \
END_MONTH=&END_MONTH ),


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
10x!
thanks mate.


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
Virtuoso
posted Hide Post
Jason,

Just so you know, you can put the entire line of code on one line. WebFOCUS does not restrict lines of code to 80 characters anymore.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
Keep in mind that there MAY be an 80 character line length limit IF you're on a mainframe with a the members defined as FIXED BLOCK LRECL 80. If so, Dev Studio will allow you to enter lines GT 80 characters and will notify you IF there is such a line. However, you may, as I do here, lose anything past the offending line IF you exit and save. The error message comes up after the exit is performed and the only lines that are saved are those before it.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
Doug...that's quite a license plate Smiler


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
Mickey

the case was readability of the code, very long code lines will work, but make it difficult to read.
An other problem is the GUI.
If you make your code readable and add comment, it is all removed or changed when you open the code in the GUI.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
Thanks Prarie. It was a Great Hit at Summit 09... Gerry even liked it. It cathes a lot of attention, even when it's interpreted as 'WE B FOCUS'... That covers Core FOCUS as well.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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     [CLOSED] stylesheet line continuation

Copyright © 1996-2020 Information Builders