Focal Point
Header Alignment for multiple lines

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1441019972

April 10, 2008, 09:23 AM
Ranjana
Header Alignment for multiple lines
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



April 10, 2008, 09:37 AM
Prarie
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
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



Are you using the OVER command and these are really column headings not a header as in a report header?


Leah
This is a report heding a "SUBHEAD".
and i am not using Over command


7.1.4
Windows XP
Excel, HTML, PDF



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



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
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