April 10, 2008, 09:47 AM
RanjanaAM 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.
April 10, 2008, 01:50 PM
LeahAre you using the OVER command and these are really column headings not a header as in a report header?
April 11, 2008, 12:35 AM
RanjanaThis is a report heding a "SUBHEAD".
and i am not using Over command
April 11, 2008, 08:56 AM
RanjanaThis 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.
April 11, 2008, 09:12 AM
GinnyJakesIf 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.
April 11, 2008, 12:10 PM
LeahIf 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.