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.
Here is my monday issue. I'm trying to use the conditional clause When in my subhead but it doesn't as I would. my request is :
TABLE FILE TEST
PRINT
COMPUTE TOTO/A300 = POIDS || '%' || COURS AS ''
BY IDTEST
BY FLAG
BY IDRESTRICKING
ON IDTEST SUBHEAD
"Caracteristique du produit"
" blabla"
ON IDRESTRICKING
"Sequence ludo"
WHEN FLAG EQ 1
ON IDRESTRICKING
"Restricking"
""
"Special output1"
"Special output2"
"Special output3"
WHEN FLAG GT 1;
WHERE RACINE EQ XXXX
END
The column Flag contains data as 1 , 2, 3, 4, ...
I need to output specific datas when flag equals 1 others data when flag greater than 1.
What occurs is : -When I only put the first when (flag eq 1) I have the subhead above the line containing flag value - When I put the two conditionnals phrase I only have subhead for the second condition.
I also tried to set my condition on the value '2' (when flag EQ 2 and when flag GT 2 )and it works fine . I can't explain when I test the value '1' I lose my lines where flag eq 1 ?
no idea whether this is your problem or not, but move this filter out of the way of your conditional SUBTOTAL statement. Nice to learn that french for 'blahblah' is 'blabla'
can you write example w/ CAR file, please so we can run for you. -s
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
A condition test on a subhead basically means this is the subhead for this condition, so if you want other information that might appear in another subhead, repeat it if that is what you are attempting. Bon Chance.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
Leah : Thanks for your support. I don't undestand everything you told me because i need the two conditions depending of the value of the flag field on my subhead.
JG : I tried your sample with the car file and it works . I ca^'t explain when flag is set to 1 webfocus don't output it ....
When posting code for others to review, do them the courtesy of copying it accurately -- what you provided obviously cannot execute:
TABLE FILE TEST
PRINT
COMPUTE TOTO/A300 = POIDS || '%' || COURS AS '' <== missing ;
BY IDTEST
BY FLAG
BY IDRESTRICKING
ON IDTEST SUBHEAD
"Caracteristique du produit"
" blabla"
ON IDRESTRICKING <== missing "SUBHEAD" keyword
"Sequence ludo"
WHEN FLAG EQ 1
ON IDRESTRICKING <== ditto
"Restricking"
""
"Special output1"
"Special output2"
"Special output3"
WHEN FLAG GT 1;
WHERE RACINE EQ XXXX
END
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005