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.
Ok, I am perplexed. I have a sebol table that I am bringing into WebFocus. There are three fields in the table that I need to concatenate together and have done. those fields are Title, first name and last name that I concatenate together so it reads "Mrs. Jane Doe" On all other reporting the name looks great. HOWEVER, on label printing the trailing blanks on each of the concatenated fields are reinserted and the name does not come out correct and bleeds over into the second label. Any ideas anyone on how to fix this to work correctly? The Sebol table fields are huge like 200, 300 and 300 characters each. The concatenated field is 800 characters total. How do I get this back to a manageable size and where it will print correctly on a label format. Again the report format prints this concatenation fine.
here is the code for making the label pretty simple
SET ONLINE-FMT = PDF TABLE FILE INK_DATA BY SCHOOL NOPRINT ON SCHOOL PAGE-BREAK HEADING """""ON TABLE SET PAGE-NUM NOPAGE ON TABLE SET STYLE * UNITS=IN, PAGESIZE='LETTER', LEFTMARGIN=0.125, TOPMARGIN=0.25, PAGEMATRIX=(3 10), ELEMENT=(2.625 1.1), GUTTER=(0.275 0.0), MATRIXORDER=HORIZONTAL, $ TYPE=HEADING, FONT='ARIAL', SIZE=10, $ ENDSTYLE
I took out the quote and lessthan symbol so the fields would show up here. sorry
SET ONLINE-FMT = PDF TABLE FILE INK_DATA BY SCHOOL NOPRINT ON SCHOOL PAGE-BREAK HEADING CONTACT JOB SCHOOL ADDRESS CITY ST ZIP ON TABLE SET PAGE-NUM NOPAGE ON TABLE SET STYLE * UNITS=IN, PAGESIZE='LETTER', LEFTMARGIN=0.125, TOPMARGIN=0.25, PAGEMATRIX=(3 10), ELEMENT=(2.625 1.1), GUTTER=(0.275 0.0), MATRIXORDER=HORIZONTAL, $ TYPE=HEADING, FONT='ARIAL', SIZE=10, $ ENDSTYLE
I'm not sure what the first 3 formulas are needed for, but if you change in the last one the | to a double || that will trim the trailing spaces, so CONTACT/A120 = (TITLET||' '|FIRSTT||' '|LASTT);
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
We were trying anything to make it work. sometimes little things make things work correctly. We at first had it like this
CONTACT/A500 = (TITLE|' '|FIRST|' '|LAST);
this still did not make it work properly. It is like when you save off the file and use it again in the label fex, it puts all the spaces back in instead of using the shortened version of the name. Here is what it looks like
Also, on the other labels the First name and Last name fields line up all the way down the page with all the other first and last names. Almost like a hidden tab is in play somewhere. Very weird.
If you are looking at a field like this in an html report it will probably look fine as spaces are automatically compressed in html.
Strong concatenation as in this example doesn't actually trim any spaces it simply moves them to the end of the object on the right side of the strong concatenation symbol. CONTACT/A120 = (TITLET||' '|FIRSTT||' '|LASTT);
You can see it more clearly if you use a Courier font for your testing.
I might change it to this so that all extra spaces get moved to the very end: CONTACT/A120 = (TITLET||(' '|(FIRSTT||(' '|LASTT))));
ttfn, kp
Access to most releases from R52x, on multiple platforms.
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003