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.
There is a simpler way to alternate row colors. From Style, pick Data. On the right side of the wizard, see the section on background color. Select alternating colors and pick the two you want.
You might have to pull out the stuff you added to the stylesheet before till you get it back the way it was before you try my suggestion.
There is a simpler way to alternate row colors. From Style, pick Data. On the right side of the wizard, see the section on background color. Select alternating colors and pick the two you want.
I tried this way. It also destroyed my report.
prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL
Rather than use the "IF ... THEN ... ELSE ..." logic to provide a basic "flip-flop" switch, I use something like this - COMPUTE ALT_LINE/I1 = ABS(ALT_LINE - 1); which produces 1s and 0s alternately.
However, the method Susannah gives above for the alternate row shading is the recommended method and should work in all current releases? so I'm not sure what is going on with your sample.
Can you try this code exactly asis (providing you have the car file )? If you get the same problem then I would call it in as you may have a deeper problem
TABLE FILE CAR
SUM RCOST
DCOST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=DATA, BACKCOLOR=(SILVER WHITE), $
ENDSTYLE
END
-RUN
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
I took the sample that I posted above and put it through the same process as you described above, and the output was OK. Not "jumbled".
Please take the sample above, run it without change and then apply your styling to it as you have described above and rerun. If the data is affected as you describe then you, also, have a deep seated problem. If the data is OK then there is something wrong with your code and it would be advisable to post it for us to help you.
If you are not permitted to post your code then you should raise a case with Tech Support for them to assist you. Don't forget to have the normal details (site code, configuration etc.) to hand when you call them, and No, I am not an IB employee .
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Your problem has nothing to do with the styling. Somehow between your first code example and second code example, the contents of the field you are printing for Asset No. has changed. And you are sorting on that field. That is why the report looks 'jumbled'. In the second code example, it looks like you are printing the customer code in the asset number column.
See if you can't figure out why that is happening.
The only thing that is different between the code examples in me applying a style.
All I am doing is making a copy of the report. Applying a style to the copy (so I don't break the original) and running the copy with the style applied.
prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL
Your code isn't the same. In the first example you use: J002.HCP_HC_ASSETS.S_CODE AS 'Asset No.' in the second you just use S_CODE it is taking that value from the Host file. Your join is:
J001.HCP_HC_OUTLINEFILES.S_CODE IN HCP_HC_OUTLINETREE TO MULTIPLE HCP_HC_ASSETS.HCP_HC_ASSETS.S_COSTCENTRE IN HCP_HC_ASSETS TAG J002 AS J002
It appears that S_CODE in OUTLINEFILES is the same as S_COSTCENTRE in ASSETS.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
There is something strange going on with my Dev Studio. I just tried to add a where statement to a report and I am getting the same symptoms. When I run the report after applying the where statement the columns are all jumbled.
I have case open.
prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL