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.
What are the ways to display NODATA in fex report.
I don’t want to use any CAR or EMPDATA to create Dummy columns and then print the “No Data Available”. Also I don’t want to write any HTMLFORM BEGIN and END code inside my .FEX file.
I want to know is there any WebFOCUS system defined file is there to achieve the same.
In PRODUCTION I do not want to write some unwanted code based on some sample files.
Let me know your concerns.This message has been edited. Last edited by: <Emily McAllister>,
WebFOCUS 8.0.05 - BI Portal, Developer Studio, Dev/App Studio, Excel, PDF, Active Formats and HTML5, Adobe Flex Builder, VBA
Posts: 47 | Location: Bengaluru, India | Registered: December 04, 2014
There are some system tables, such as SYSTABLE and SYSCOLUM.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Not sure what you are looking for. In my company, we have an include to produce an empty report. When we execute the report Select, if it returns absolutely no data, we GOTO the empty report logic.
-* File nodata.fex
-*
-********************************************************************************
-*** NULL / EMPTY REPORT ROUTINE
-********************************************************************************
-*
-SET &OURSTYLE = IF &WFFMT EQ 'PDF' THEN '-INCLUDE PDF.STY'
- ELSE '-INCLUDE XL_HTML.STY' ;
-*
-SET &MSGLINE1 = IF &FOCERRNUM NE 0 THEN 'A WebFOCUS processing error has occurred. The WebFOCUS error number is: &FOCERRNUM.EVAL'
- ELSE IF '&RC_OR_ADHOC.EVAL' EQ 'RC' THEN 'No records were selected based upon standard/default filtering criteria for this report.'
- ELSE IF '&PORTED.EVAL' EQ 'Y' THEN 'No records were selected based upon standard/default filtering criteria for this report.'
- ELSE 'No records were selected based upon the filtering criteria you provided at run time for this report.';
-SET &MSGLINE2 = IF &FOCERRNUM NE 0 THEN 'Please contact your system administrator with this information.'
- ELSE IF '&RC_OR_ADHOC.EVAL' EQ 'RC' THEN ' '
- ELSE IF '&PORTED.EVAL' EQ 'Y' THEN ' '
- ELSE 'Please verify the filtering criteria entered, adjust as needed, and rerun the report.';
-*
DEFINE FILE SYSTABLE
MSGLINE1/A100 = '&MSGLINE1.EVAL';
MSGLINE2/A100 = '&MSGLINE2.EVAL';
BLANKLINE/A100 = ' ';
END
TABLE FILE SYSTABLE
SUM
MSGLINE1 AS ''
OVER
BLANKLINE AS ''
OVER
MSGLINE2 AS ''
&IMAGEFILE.EVAL
BY NAME NOPRINT
WHERE RECORDLIMIT EQ 1
HEADING
&OURHEAD1.EVAL
" <+0>&RPT_COMPANY<+0>&RPT_ID_TX<+0>&RPT_ID"
" <+0>&RPT_TITLE<+0>&RPT_DATE_TX<+0>&RPT_DATE"
" <+0>&RPT_TITLE2<+0>&RPT_TIME_TX<+0>&RPT_TIME"
" "
FOOTING BOTTOM
" "
" "
"&FEX_NAME <+0>&RPT_CONF_TX<+0> <+0> "
"&&SRVNAME <+0> <+0> <+0> "
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT &WFFMT &OPENCLOSE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
&OURSTYLE.EVAL
TYPE=TITLE, COLOR='WHITE', STYLE=NORMAL,
BORDER-TOP-COLOR=WHITE, BORDER-BOTTOM-COLOR=WHITE,
BORDER-LEFT-COLOR=WHITE, BORDER-RIGHT-COLOR=WHITE,
$
ENDSTYLE
END
-RUN
WebFOCUS 7.7.05 (Someday 8) Windows 7, All Outputs In Focus since 1983.