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.
I occasionally use the white out trick where we white out a field we don't want to display.
i.e. TYPE=DATA, SIZE=8, COLUMN=CARRY_VL,COLOR=WHITE, WHEN=DISPFEDTAXFLAG EQ 'N', $
We found out today that when you go to print html (or print preview), those fields that are "whited" out actual print out on the report. Has anyone found a work around for this? I'm hoping I don't have to try and blank out all the numeric fields they don't want to see.
IBI says: You cannot use Conditional Styling to hide the Column based on a color (white). This is because Excel will still recognize the column as having data, and the Grid Lines will still surround that column.
What needs to be done is to utilize two TABLE requests where the first one establishes the condition which is saved to a HOLD file. Then, using a -READ, capture that value to an Amper Variable. That Amper Variable is then used within a -SET with another condition. That condition is then used within the second TABLE request to screen out the column if that condition is met.
Example:
TABLE FILE CAR PRINT COUNTRY WHERE DEALER_COST EQ 6000 ON TABLE HOLD END -RUN -READ HOLD &CNTRY2.A12. -SET &NOP = IF &CNTRY2 EQ 'W GERMANY' THEN 'NOPRINT' ELSE ' ';
TABLE FILE CAR PRINT DEALER_COST CAR MODEL &NOP RETAIL_COST BY COUNTRY ON TABLE PCHOLD FORMAT EXL2K END
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
Pam, each users' browser settings determine whether 'print background colors and images' get displayed. if that switch is off, then you print black and white. if that switch is on, then you get the nice invisible white font. But it is user-desktop-specific. Tools/Internet Options/Advanced..and scroll down;
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
We can't do noprint because we need the field to print normally. It's only when a certain row is printed that they don't want to see the amounts in one column. Noprint would cause the column to never print. They want to see 9 out of 10 rows and some accounts may not even have that 1 row of data that they don't want. Of course, they want to see some of the columns for that 1 row, so you can't eliminate the data completely.
The solution of class=nodisplay suggested by Mikel worked great.
If you can determine what row it should and should not print on could you not set the computed field to missing and before the report runs set SET NODATA = ''.