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 put a field within a heading line, but there are spaces in between the text and field. How can I remove the space? Also I change the a field format from I11 to A11, how can I remove leading zero from the A11 field
Here is my code:
DEFINE FILE NEWREPORTREQUEST
NAME/A401 = REQFIRSTNAME || (' ' |REQLASTNAME);
DATEREQ/YYMD = HDATE(DATEREQUESTED, 'YYMD');
REPORTTITLE2/A202 = '"'|REPORTTITLE||'"';
REPORTID/A11 = EDIT(REPORTREQUESTID);
END
TABLE FILE NEWREPORTREQUEST
HEADING
"Your reference # is <REPORTID for your <REPORTTITLE2 request. "
PRINT
REPORTREQUESTID NOPRINT
BY HIGHEST 1 REPORTREQUESTID NOPRINT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, SQUEEZE=ON, FONT='ARIAL', SIZE=9, $
TYPE=HEADING, HEADALIGN=INTERNAL, $
TYPE=HEADING, ITEM=1, $
TYPE=HEADING, LINE=1, COLSPAN=2, $
TYPE=HEADING, LINE=5, ITEM=2, COLOR=BLUE, $
TYPE=HEADING, LINE=5, ITEM=4, COLOR=BLUE, $
TYPE=TITLE, STYLE=BOLD, $
TYPE=GRANDTOTAL, STYLE=BOLD, $
ENDSTYLE
END
-RUN
Here is my result;
Your reference # is 0000001618 for your "test space 16" request.
ThanksThis message has been edited. Last edited by: Kerry,
May
WebFOCUS 7.6.8 Servlet - MRE/BID/Self Service/ReportCaster - MS Windows Server 2003 - MS SQL Server 2005 - DataMigrator 7.6.9
APP PREPENDPATH IBISAMP
-RUN
DEFINE FILE SHORT
REPORTID1/I11 = 1618;
REPORTID2/A11 = PTOA(REPORTID1,'(P11)','A11');
REPORTTITLE2/A200 = '"test space 16"';
END
TABLE FILE SHORT
HEADING CENTER
"Your reference # is <REPORTID2 for your <REPORTTITLE2 request. "
" "
PRINT
PROJECTED_RETURN
REPORTID1
REPORTID2
BY CONTINENT
BY REGION
BY COUNTRY
BY HOLDER
BY TYPE
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=9,
STYLE=NORMAL,
$
ENDSTYLE
END
-EXIT