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     [CLOSED] How to get the output to look like this?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to get the output to look like this?
 Login/Join
 
Gold member
posted
I have a report that I need to be formatted like this. I'm trying to use OVER. But the 3rd column is not lining up correctly. And I would like to bold the headings.

User Information (blank column) User Profiles
---------------------------------------------
User ID: userid userprofile
Last name: lname userprofile2
First name: fname userprofile3

User Preference (blank column) (blank column)
----------------------------------------------
Timezone: timezone (blank column)

Account Information (blank column)(blank column)
-----------------------------------------------
Type: type (blank column)

This message has been edited. Last edited by: Kerry,


WebFOCUS 8.0.08
Solaris
HTML, PDF, XLS, CSV
 
Posts: 55 | Registered: September 08, 2010Report This Post
Expert
posted Hide Post
you could put all your data (text labels and fields) in your HEADING or SUBHEADING lines.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Guru
posted Hide Post
Suzy,

Two things. First can you please include your code. Second, you can use the 'IN column' command to put your data where you want. If you want the Title and the Data to line up, you should cerate the titles using a Define and then use "AS ''" for the data.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Expert
posted Hide Post
Posting you example in the code tags will help seeing what you want.

User Information (blank column) User Profiles 
---------------------------------------------
User ID:          userid        userprofile
Last name:        lname         userprofile2
First name:       fname         userprofile3

User Preference  (blank column) (blank column)
----------------------------------------------
Timezone:        timezone       (blank column)

Account Information (blank column)(blank column)
-----------------------------------------------
Type:            type           (blank column)


I agree with RSquared, we need to see your code, and the layout of your data.

You may find it easier to do this with MacGyver, assuming all your data is in one row.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
I've almost got this working the alignment is fine. My question is now how do I format the headings?

  
DEFINE FILE USERDETAIL
SPACE/A1 = ' ';
HEADING01/A20 = 'User Information';
HEADING02/A20 = 'User Profiles';
HEADING03/A20 = 'User Entitlements';
HEADING1/A20 = 'User Preference';
HEADING2/A21 = 'Account Configuration';
HEADING3/A20 = 'Account Information';
END


-* Print the Report
TABLE FILE USERDETAIL
PRINT
  HEADING01 AS ' ' SPACE AS ' ' HEADING02 AS ' ' HEADING03 AS ' ' OVER
  USER_ID AS 'User ID' USR_PROFILES AS ' ' ENTITLEMENTS AS ' ' OVER
  FNAME AS 'First Name' OVER
  LNAME AS 'Last Name' OVER
  MI AS 'MI' OVER
  ADDR1 AS 'Address Line 1' OVER
  ADDR11 AS 'Address Line 2' OVER
  CITY AS 'City' OVER
  STATE_PROVINCE AS 'State' OVER
  POSTAL_CODE AS 'Postal Code' OVER
  BUSINESS_EMAIL AS 'Business Email' OVER
  BUSINESS_PHONE AS 'Business Phone' OVER
  BUSINESS_FAX AS 'Business Fax' OVER
SPACE AS ' ' OVER
HEADING1 AS ' ' OVER
  LOCALE AS 'Locale:' OVER
  TIMEZONE AS 'TimeZone:' OVER
  HIERARCHY_FORMAT AS 'Hierachy Name Format' OVER
SPACE AS ' '  OVER
HEADING2 AS ' ' OVER
  BOARDING_HN AS 'Fusebox Hierarchy Node' OVER
  MPS_HN AS 'OCM/Acquiring Hierachy Node:' OVER
SPACE AS ' '  OVER
HEADING3 AS ' ' OVER
  ACCT_TYPE AS 'Account Type' OVER
  ACCT_CREATE_DT AS 'Account Creation Date' OVER
  USR_STATUS AS 'User Status' OVER  


WebFOCUS 8.0.08
Solaris
HTML, PDF, XLS, CSV
 
Posts: 55 | Registered: September 08, 2010Report This Post
Expert
posted Hide Post
...
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=HEADING01, COLOR=NAVY, STYLE=BOLD, $
TYPE=DATA, COLUMN=HEADING02, COLOR=NAVY, STYLE=BOLD, $
TYPE=DATA, COLUMN=HEADING03, COLOR=NAVY, STYLE=BOLD, $
...
ENDSTYLE
...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
That doesn't seem to work well with this already defined. The headings aren't getting formatted at all.
  
TYPE=DATA,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-TOP-COLOR='WHITE',
     BORDER-BOTTOM-COLOR='WHITE',
     BORDER-LEFT-COLOR='WHITE',
     BORDER-RIGHT-COLOR='WHITE',
     SIZE=7,
     BACKCOLOR=( 'WHITE' RGB(234 235 236) ),
  
$
TYPE=TITLE,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-TOP-COLOR='WHITE',
     BORDER-BOTTOM-COLOR='WHITE',
     BORDER-LEFT-COLOR='WHITE',
     BORDER-RIGHT-COLOR='WHITE',
     SIZE=7,
     BACKCOLOR=RGB(202 220 238),
     STYLE=-UNDERLINE+BOLD,
     JUSTIFY=CENTER,
$
TYPE=DATA, 
	 COLUMN=HEADING01, 
     STYLE=BOLD,
     JUSTIFY=CENTER,
$
TYPE=DATA, 
	COLUMN=HEADING02, 
	STYLE=BOLD, 
$
TYPE=DATA, 
	COLUMN=HEADING03, 
	STYLE=BOLD, 
$


WebFOCUS 8.0.08
Solaris
HTML, PDF, XLS, CSV
 
Posts: 55 | Registered: September 08, 2010Report This Post
Guru
posted Hide Post
Try this.
HEADING1 AS '' IN 0
HEADING2 AS '' IN 20
HEADING3 AS '' IN 40 OVER
USER_ID AS 'User id' IN 0 USER_PROFILE AS '' IN 20
.
.
.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report 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] How to get the output to look like this?

Copyright © 1996-2020 Information Builders