Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Header Alignment for multiple lines
Go
New
Search
Notify
Tools
Reply
  
Header Alignment for multiple lines
 Login/Join
 
Member
posted
Hi,

I have multiple lines for a header and need to align my Header to the Top
For eg.

Name: aaa Empid: 101
Address: #121,aaa st. deptid: D222
bbbst,nnnn dept_name: deere1
uuu
emailid: aaa@bb.com

This is what I require, I have used alignment grid to get this, all works perfect, the only problem I encounter is when the adress flows to 2nd line, the title "Address" also moves down and I have a blank space. My problem looks as below.

Name: aaa Empid: 101
#121,aaa st.
bbbst,nnnn
Address: uuu deptid: D222
emailid: aaa@bb.com dept_name: deere1

I basically want help to figure out how best to do the formatting and remove the blank spaces between Name& Address , Empid and Dept id.

I am using HTML output.
Any help is welcome.

Thanks,
R


7.1.4
Windows XP
Excel, HTML, PDF



 
Posts: 26 | Registered: February 21, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I'm not sure what all you are asking, but You could Concatenate the fields to get rid of blank space.

NEWFIELD/A20 = NAME|ADDRESS;


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Member
posted Hide Post
AM sorry for the confusion, My address is of A255 length, and it flows to next line, when put on a alignment grid and the header title "ADDRESS" also shifts down, How do i avoid that.


7.1.4
Windows XP
Excel, HTML, PDF



 
Posts: 26 | Registered: February 21, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Are you using the OVER command and these are really column headings not a header as in a report header?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Reply With QuoteReport This Post
Member
posted Hide Post
This is a report heding a "SUBHEAD".
and i am not using Over command


7.1.4
Windows XP
Excel, HTML, PDF



 
Posts: 26 | Registered: February 21, 2008Reply With QuoteReport This Post
Member
posted Hide Post
This is another attemp to explain my problem:

(-------)denotes blank spaces
This is in the Subhead of the report
and this is my requirement
Name: ---aaa ------------------Empid: 101
Address: #121,aaa st. ------deptid: D222
---------bbbst,nnnn --------dept_name: deere1
---------uuu----------------emailid: aaa@bb.com

and This is what i get after using an alignment grid

Name:--aaa ----------------------Empid: 101
--------#121,aaa st.---------------------------
--------bbbst,nnnn---------------------------------
Address: uuu -------------------deptid: D222
--------------------------------dept_name: deere1
--------------------------------emailid: aaa@bb.com .

I want to know a possible answer to remove the blank places between name and address and Emp id and Dept id.

Hope this makes sense.


7.1.4
Windows XP
Excel, HTML, PDF



 
Posts: 26 | Registered: February 21, 2008Reply With QuoteReport This Post
Expert
posted Hide Post
If your formatting requirements are that specific, then I would recommend that you break your address field into component pieces using such subroutines as SUBSTR, GETTOK, etc. Then you can position the pieces exactly where you want them.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
If you are creating a subhead are you using
 <fieldname> or <fieldname 

?
The first reserves all the spaces regardless of data in the field, the second moves it close in in a sense concatenating at the last character.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Header Alignment for multiple lines

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.