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     [CLOSED] Display total number of rows in header

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Display total number of rows in header
 Login/Join
 
Silver Member
posted
Hello,

I would like to display the count for total number of rows in the header. Can some help me how I can achieve that or point me to another discussion that have solved the similar issue?

Thank you,
Gagan

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: September 05, 2017Report This Post
Silver Member
posted Hide Post
This conversation might help
http://forums.informationbuild...241061092#8241061092


WF Version 8105
 
Posts: 45 | Registered: October 07, 2015Report This Post
Platinum Member
posted Hide Post
You could also lookup how to use READFILE in which you could create a hold file, read it, and type your count into an amper variable to be used at a later time in your header.


JC
WebFOCUS Dev Studio / App Studio
8.2.01
Windows 7
 
Posts: 146 | Registered: November 09, 2015Report This Post
Virtuoso
posted Hide Post
Gagan

Welcome to Focal Point! I hope you find this a great forum to get answers to your development questions.

I think this code will help you.

https://s9.postimg.org/h9fmkskqn/code_example.png

This message has been edited. Last edited by: FP Mod Chuck,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Silver Member
posted Hide Post
I am not exactly sure what I would change in my text editor. I tried to make an attempt but I am not getting the right results..

Here is a snippet of what I have in my text editor

TABLE FILE servicemanagement/computersystem_processor

SUM
COMPUTERSYSTEM_PROCESSOR.COMPUTERSYSTEM.ASSET_ID_
COMPUTE R/I5 = 1 + R; NOPRINT
SUM CNT.COMPUTERSYSTEM_PROCESSOR.PROCESSOR.NAME AS 'Total CPUs'
COMPUTE cores_per_cpu/D12=COMPUTERSYSTEM_PROCESSOR.SPECIFICATIONS_PR.NUMBEROFCORES/cpuCount ; AS 'Cores per CPU'
COMPUTERSYSTEM_PROCESSOR.SPECIFICATIONS_PR.NUMBEROFCORES AS 'Total Cores'
BY COMPUTERSYSTEM_PROCESSOR.COMPUTERSYSTEM.ASSET_ID_ AS 'Server CI ID'

ON TABLE SUBHEAD
"Servers with CPU and Core Count"
"Parameters: Company &COMPANY Owner Name &OWNER_NAME"
"Report Run Date: &DATEMDYY &TOD"
"Rows: "Page of
Is this what I am suppose to have?


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: September 05, 2017Report This Post
Virtuoso
posted Hide Post
Gagen

My example used a DEFINE instead of a COMPUTE..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Silver Member
posted Hide Post
Thanks Chuck. This worked for me.

Thank you,
Gagan


WebFOCUS 8
Windows, All Outputs
 
Posts: 29 | Registered: September 05, 2017Report 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     [CLOSED] Display total number of rows in header

Copyright © 1996-2020 Information Builders