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.
We have observed that when a report run with EMPTYREPORT 'ON' and it is indeed "empty", i.e LINES=0, that the HEADERS are displayed but not the FOOTERS.
Is this as designed? Do others observe this behavior, too?
Without the footers, the empty report appears incomplete.
WIN/2K running WF 7.6.4 Development via DevStudio 7.6.4, MRE, TextEditor. Data is Oracle, MS-SQL.
Posts: 154 | Location: NY | Registered: October 27, 2005
According to the documentation, if no records satisfy the report selection criteria, you can choose to display or print anempty report, that is, the report without data but including column titles, a report heading (if one was specified in the report request), and a page heading (if one was specified).
Which by the way is exactly what it does. My users where constantly asking us to verify that this was correct. So I began using the following routing:
TABLE FILE CAR
PRINT COUNTRY
CAR
MODEL
WHERE MODEL EQ 'TUCKER'
ON TABLE HOLD AS FDATA
END
-*
-IF &LINES EQ 0 GOTO NODATA;
-*
TABLE FILE FDATA
PRINT COUNTRY
CAR
MODEL
-GOTO STYLER
-*
-EXIT
-*
-NODATA
DEFINE FILE CAR
MESSAGE1/A50 = 'NO RECORDS MET THE CRITERIA OF THIS REPORT';
MESSAGE2/A75 = 'THE REPORT REQUEST ALL RECORDS WHERE MODEL EQUALS TUCKER';
END
-*
TABLE FILE CAR
PRINT MODEL NOPRINT
MESSAGE1 AS '' OVER
MESSAGE2 AS ''
WHERE RECORDLIMIT EQ 1
-GOTO STYLER
-*
-STYLER
HEADING CENTER
"TEST CODE"
-*
FOOTING
"Data from"
"Produced by : Created on : "
""
ON TABLE SET STYLE *
UNITS=IN,
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
PAGECOLOR=RGB(172 192 233),
$
TYPE=REPORT,
TITLETEXT='TEST CODE',
$
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END
-EXIT
I recently had to attend an ITIL course Information Technology Infrastructure Library. Which is a framework of best practices for IT customer service. In it - we were scolded that there were no Stupid Users or SU - because they are the ones that keep us IT folks employed. My co-workers and I are still trying to except this.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
Reminds me of the old joke (that we still use sometimes) when a user has (what IT would consider) a dumb question/request/problem. We say they've experienced an "ID ten T" error. That would be ID10T.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Oh but I would never call my users stupid (at least not where they can here me ). I simply said they were not normal....or in the words of Igor - "Abby Normal"!
Darin,
I'm going to have to remember the "ID ten T" error.
When introduced to one chap, by way of identifying his level of expertise, told me he had difficulties with calculators. To be fair on him, he had spent most of his working life "on the tools" and had only recently moved into an area where he required basic IT user skills. An interface of stone and chisel would suit!!
You also get those that consider themselves experts because they have written VB code within MS Abcess. Unfortunately it doesn't take long to comprehend the depths of their talents as you find a level of 10 or more queries. These tend to be the most dangerous because they don't accept suggestions on how to improve their code.
Another type is the "dyed in the wool" eternal user. They use existing applications and have developed a method that suits them. When the old application has outgrown it's life span and is replaced by new, they show great commitment to trying to use the new app but just don't seem to get away from "the way it's always been done" and "why can't the new system be exactly like the old one".
I've found that most companies have people closely fitting these types and of course there are many, many others. It just helps make the rich tapestry of the user base sooooooo interesting
Darin,
Love the error type, that ones going to be used many times I think
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Darin, good one. I usually ask the 'users' to verify if they are testing with the 'more' feature 'on' or 'off', and thinking they know everything they reply 'more on' of course.
Below is my much simpler single-pass test code. It autoprompts you for the 3 key parameters and you enter whatever combination you want. OLAP is included because my initial issue was with OLAP reports, but it turns out OLAP is not involved.
I post the code only so that 'newbies' can see example of using DM when you have to easily try different parameter values in different combinations.
Prarie:
Thanks for the hint about 'ANSI'. It solves the problem perfectly, as everyone can see by experimenting with my code and entering ANSI instead of ON or OFF.
Chris
-OLAP &OLAP_ON_OFF SET EMPTYREPORT = &EmptyReport_ON_OFF OLAP DIMENSIONS DIMENSIONS FILE CAR COUNTRY: COUNTRY, CAR, MODEL, BODYTYPE; END TABLE FILE CAR SUM 'CAR.BODY.DEALER_COST' 'CAR.BODY.RETAIL_COST' BY 'CAR.ORIGIN.COUNTRY' BY 'CAR.COMP.CAR' BY 'CAR.CARREC.MODEL' BY 'CAR.BODY.BODYTYPE' HEADING "Costs of Cars" "EmptyReport_ON_OFF: '&EmptyReport_ON_OFF' " "OLAP: '&OLAP_ON_OFF' " "MODEL contains: '&MODEL_Contains' " " " FOOTING "This is the footer." WHERE CAR.CARREC.MODEL CONTAINS '&MODEL_Contains'; ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET AUTODRILL ON ON TABLE SET OLAPPANE CONTROL ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $ TYPE=TITLE, STYLE=BOLD, $ TYPE=TABHEADING, SIZE=12, STYLE=BOLD, $ TYPE=TABFOOTING, SIZE=12, STYLE=BOLD, $ TYPE=HEADING, SIZE=12, STYLE=BOLD, $ TYPE=FOOTING, SIZE=12, STYLE=BOLD, $ TYPE=SUBHEAD, SIZE=10, STYLE=BOLD, $ TYPE=SUBFOOT, SIZE=10, STYLE=BOLD, $ TYPE=SUBTOTAL, BACKCOLOR=RGB(210 210 210), $ TYPE=ACROSSVALUE, SIZE=9, $ TYPE=ACROSSTITLE, STYLE=BOLD, $ TYPE=GRANDTOTAL, BACKCOLOR=RGB(210 210 210), STYLE=BOLD, $ ENDSTYLE END
WIN/2K running WF 7.6.4 Development via DevStudio 7.6.4, MRE, TextEditor. Data is Oracle, MS-SQL.
Posts: 154 | Location: NY | Registered: October 27, 2005