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     [SOLVED] Remove restriction for a subfoot/subhead condition to be a 'by' field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Remove restriction for a subfoot/subhead condition to be a 'by' field
 Login/Join
 
Silver Member
posted
Hello everybody - I was wondering if there is a way to remove the demand for a 'by field' when using multiple subfoots/subheads.
Thanks in advance.

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


WF 7.6.5 / OS: XP / FOCUS
 
Posts: 42 | Registered: September 01, 2008Report This Post
<JG>
posted
You must use a BY when using subfoot/subhead but you can always use NOPRINT if you do not want to see it.
 
Report This Post
Silver Member
posted Hide Post
Thanks but we are porting from a different language to WebFocus and the order is of significant meaning ( not crucial but it would be better ). So it is seems that 'by' fields cannot be omitted in no way.


WF 7.6.5 / OS: XP / FOCUS
 
Posts: 42 | Registered: September 01, 2008Report This Post
Virtuoso
posted Hide Post
You can do an ON TABLE SUBFOOT OR SUBHEAD


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
<JG>
posted
As Prarie says you can use ON TABLE which is an implicit BY REPORT.

Are you wanting to insert 'freeform text' or data.

If you have a known structure then you can artificially create BY sequencers
for instance based on a row count.

 
DEFINE FILE CAR
COUNTER/I5 WITH MODEL=LAST COUNTER +1;
BREAK/I5= DECODE COUNTER(1 1 2 1 3 1 4 2 5 3 6 3 7 3 8 4 ELSE 99);
END
TABLE FILE CAR
PRINT MODEL DCOST
BY BREAK NOPRINT
ON BREAK SUBFOOT
"This is comment <BREAK"
END
 
Report This Post
Silver Member
posted Hide Post
Thanks both Smiler

Here is a solution to my problem. Sorry for the dummy topic - it just did't come up into my mind earlier:
 
DEFINE FILE CAR
IND/I3 WITH MODEL = IND+1;
END

TABLE FILE CAR

PRINT MODEL COUNTRY
BY IND NOPRINT
ON IND SUBFOOT
"SUBFOOT"
WHEN COUNTRY NE LAST COUNTRY
-* or a different condition
END
-RUN
-EXIT 


WF 7.6.5 / OS: XP / FOCUS
 
Posts: 42 | Registered: September 01, 2008Report 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     [SOLVED] Remove restriction for a subfoot/subhead condition to be a 'by' field

Copyright © 1996-2020 Information Builders