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.

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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved] HOLD file data in footing

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] HOLD file data in footing
 Login/Join
 
Master
posted
Hi

I have a HOLD file but not sure how to display it in the footing. Basically HOLD file will have 2 columns, for ex..CAR and SALES and I need to display them in the footing. How could I do this?

Thank you

This message has been edited. Last edited by: Kathleen Butler,


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Virtuoso
posted Hide Post
are they always the same field?

 FOOTING
"<CAR <SALES" 
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
Yes, the field names don't change.
quote:
Originally posted by Prarie:
are they always the same field?

 FOOTING
"<CAR <SALES" 


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Virtuoso
posted Hide Post
Maybe something like this:

DEFINE FILE CAR
 QUOTE/A1 = '"';
END
-*
TABLE FILE CAR
 PRINT QUOTE CAR SALES QUOTE
 ON TABLE HOLD AS CARHOLD FORMAT ALPHA
END
-RUN
-*
TABLE FILE CAR
 PRINT COUNTRY CAR MODEL
 FOOTING
-INCLUDE CARHOLD.FTM
END


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Master
posted Hide Post
Hi,

I checked with Noreen Redden and she suggested the following:

Since you already have the example of the INCLUDE from a TABLE, the other way is using Dialogue Manager.
-* IF YOU KNOW THE NUMBER OF RECORDS IN THE HOLD FILE, THEN SET THAT AS THE DEFAULT FOR &MAX
-* OTHERWISE, IT WILL GO UNTIL THERE ARE NO MORE RECORDS, &IORETURN EQ 1 AT EOF
-DEFAULT &MAX = 100
TABLE FILE CAR
the report
FOOTING
" CAR SALES "
" ------- ----------"
-REPEAT ENDLP &MAX TIMES
-READFILE holdfile
-IF &IORETURN NE 0 GOTO ENDIT
" &CAR &SALES "
-ENDLP
-ENDIT
END
-RUN


Let us know if this helps.

Have a great day.

Sincerely,

Kathleen Butler
Information Builders
 
Posts: 391 | Location: New York | Registered: September 20, 2006Report 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     [Solved] HOLD file data in footing

Copyright © 1996-2020 Information Builders