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 currently try to use Linebreaks for a text within a reporting object.
The text comes from a BW-table. Everytime a user makes a carriage return a tag like &DLIM will be inserted.
The text fields should be shown within a webfocus report including the linebreaks a user has done.
Therefore i would like to use the follwoing syntax:
-SET &WFFMT=PDF;
-SET &DELIM = IF &WFFMT EQ PDF THEN HEXBYT(13,'A1') ELSE ' '; -*textfield will come from SAP BW table: -*DEFINE FILE CAR -*DISPLAY/A200='dsaf sdf asdfdas fas fas fd &DELIM esaf dasf s afasd fasdf &DELIM sdfdsfgsd'; -*END TABLE FILE CAR SUM SALES BY COUNTRY BY CAR HEADING """ ON TABLE PCHOLD FORMAT &WFFMT ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=OFF, ORIENTATION=LANDSCAPE,$ TYPE=REPORT,LINEBREAK='CR',$ ENDSTYLE END
My problem is that i can use a syntax like that. Everytime a &DLIM appears a linebreak will be inserted but the tag '&DLIM' will be displayed as well.
For Example: Datebase string: "This is line 1 &DLIM this is line 2 &DLIM and 3."
The way it should be displayed: "This is line 1 this is line 2 and 3"
the way it is displayed: "This is line 1 &DLIM this is line 2 &DLIM and 3."
Is there a way tu suppress the &DLIM in the text which is displayed?
Thanks, MarkusThis message has been edited. Last edited by: Kerry,
If you want to force like breaks, then there are other ways.
e.g.
DEFINE FILE CAR
Data /A50 = 'This is line 1 &|DLIM this is line 2 &|DLIM and 3.' ;
Formatted/A1000 = STRREP (50,Data,5,'&|DLIM',4,'<br>',50,'A50') ;
END
TABLE FILE CAR
PRINT Formatted
BY COUNTRY
WHERE RECORDLIMIT EQ 1
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
UNITS=CM, PAGESIZE='A4', LEFTMARGIN=0.635000, RIGHTMARGIN=0.635000,
TOPMARGIN=0.635000, BOTTOMMARGIN=0.635000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE, $
TYPE=REPORT, FONT=ARIAL, SIZE=10, MARKUP=ON, $
END
This example is fraught with danger , depending on the version of WebFOCUS you are using.