Focal Point Banner


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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying column variable in Empty report header

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Displaying column variable in Empty report header
 Login/Join
 
Gold member
posted
All,
I have 3 reports.This reports are executed based on the period (MM/YYYY).I am showing the period in the header of the report. But whenever the report becomes empty then header shows only a DOT. I am using SET EMPTYREPORT=ANSI to show the empty report.If the header value is a text/constant value it shows even in the empty report.But VARIABLES are not displaying in the empty reports.
Any idea how to resolve this issue.

Regards
Regards
 
Posts: 80 | Registered: March 21, 2007Report This Post
Virtuoso
posted Hide Post
It depends what you mean by variables really. From what you say I presume you mean DEFINEd variables, which will not show in the header. DEFINEd fields are only evaluated for each referenced value in the TABLE, and if no records are retrieved in the TABLE request (EMPTYREPORT) then the DEFINE cannot evaluate.

If you are setting up a DEFINE base on an &var, then use the &var itself in the heading rather than the DEFINE field, for example:
DEFINE FILE CAR
T_CAR/A20 = '&CAR';
END
TABLE FILE CAR
HEADING
" &CAR"
.
.

rather than
DEFINE FILE CAR
T_CAR/A20 = '&CAR';
END
TABLE FILE CAR
HEADING
" <T_CAR"
.
.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying column variable in Empty report header

Copyright © 1996-2020 Information Builders