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     [SOLVED] Space Between Alignment Grid and Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Space Between Alignment Grid and Report
 Login/Join
 
Silver Member
posted
Hi Everyone,

Sorry if this has been asked before, I tried to search the answer and was unable to find anythign that helped me with the 2 issues I am having. I have included an image to hopefully make things easier, but please let me know if you need to see the code as well.

Just to explain, I am doing page breaks on a hidden field and the page header has the alignment grid where a field is referenced for Branded - Dental / Branded - Generic in the top row and in the bottom row i have typed in the warehouses as those are constant through each page.



The first is that as you can see in the image, for some reason "Warehouse 9" has a different text than the other warehouses. I have tried fixing this in both the GUI and Text Editor without success. It seems whatever formating i do to that cell in the alignment grid doesnt work.

The second is that I would like to remove the space between the alignment grid and the report. I have a feeling this change needs to be made in my style sheet, but after some playing around i wasnt able to figure out what needs to be changed.

Any and all help you guys could provide would be greatly appreciated. Also please let me know if i should provide any aditional information.

Thanks,

-Luke

This message has been edited. Last edited by: <Kathryn Henning>,


Web Focus 8105
Windows 7
 
Posts: 32 | Registered: January 13, 2014Report This Post
Virtuoso
posted Hide Post
Hi Luke and welcome to the WF forum!

I suspect that
1. Warehosue 6 should be Warehouse 6 ... Wink
2. Warehouse 9 has a different style

So could you post your HEADING and the corresponding STYLE?

As for the blank line between the HEADING and the TITLEs, unless there is a new SET that I am unaware of that does away with the blank line, it is something we live with.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Silver Member
posted Hide Post
Thanks for catching the warehouse 6 part, here is the code for the heading / style.

HEADING
"<WFSLGMTXDB.SEG01.CATNAMEFIN"
" <+0> <+0> <+0> <+0> <+0> <+0> <+0> <+0> <+0> <+0> <+0> <+0> <+0> <+0> "
" <+0>Warehouse 2<+0> <+0> <+0>Warehouse 3<+0>Warehouse 6<+0>Warehouse 7<+0>Warehouse 8<+0>Warehouse 9"
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE SET BYDISPLAY ON 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
     INCLUDE = hschein,
$
     LEFTMARGIN=0.000000,
     RIGHTMARGIN=0.000000,
     TOPMARGIN=0.000000,
     BOTTOMMARGIN=0.000000,
$
TYPE=REPORT,
     RIGHTGAP=0.125000,
     TOPGAP=0.000000,
     BOTTOMGAP=0.000000,
     LINES-PER-PAGE=UNLIMITED,
$
TYPE=DATA,
     COLUMN=N5,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N6,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N7,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N8,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N9,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N10,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N11,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N12,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N13,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N14,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N15,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N16,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N17,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N18,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N19,
     FONT='TIMES NEW ROMAN',
     JUSTIFY=CENTER,
$
TYPE=DATA,
     COLUMN=N1,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N5,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N6,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N7,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N8,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N9,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N10,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N11,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N12,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N13,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N14,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N15,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N16,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N17,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N18,
     JUSTIFY=CENTER,
$
TYPE=TITLE,
     COLUMN=N19,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     BORDER-TOP=OFF,
     BORDER-BOTTOM=OFF,
     BORDER-LEFT=OFF,
     BORDER-RIGHT=OFF,
     BORDER-TOP-STYLE=OUTSET,
     BORDER-BOTTOM-STYLE=OUTSET,
     BORDER-LEFT-STYLE=RIDGE,
     BORDER-RIGHT-STYLE=RIDGE,
     BORDER-TOP-COLOR='WHITE',
     BORDER-BOTTOM-COLOR='WHITE',
     BORDER-LEFT-COLOR='WHITE',
     BORDER-RIGHT-COLOR='WHITE',
     HEADALIGN=BODY,
$
TYPE=HEADING,
     LINE=1,
     OBJECT=FIELD,
     ITEM=1,
     COLSPAN=15,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=1,
     SIZE=8,
     COLSPAN=1,
     STYLE=NORMAL,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=2,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=3,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=4,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=5,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=6,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=7,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=8,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=9,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=10,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=11,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=12,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=13,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=14,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=2,
     OBJECT=TEXT,
     ITEM=15,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=1,
     SIZE=8,
     COLSPAN=1,
     STYLE=NORMAL,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=2,
     SIZE=10,
     COLSPAN=2,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=3,
     SIZE=10,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=4,
     SIZE=10,
     COLSPAN=1,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=5,
     SIZE=10,
     COLSPAN=2,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=6,
     SIZE=10,
     COLSPAN=2,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=7,
     SIZE=10,
     COLSPAN=2,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=8,
     SIZE=10,
     COLSPAN=2,
     JUSTIFY=CENTER,
$
TYPE=HEADING,
     LINE=3,
     OBJECT=TEXT,
     ITEM=9,
     SIZE=10,
     COLSPAN=2,
     JUSTIFY=CENTER,
$
ENDSTYLE
END


Web Focus 8105
Windows 7
 
Posts: 32 | Registered: January 13, 2014Report This Post
Expert
posted Hide Post
Whilst there is no SET syntax for removing that line, you can "massage" it to give you an acceptable result.

Firstly change your second line of heading from " <+0> <+0> etc. to " " and then the following styling should give you a reasonable result.

The trick (as used by many a Guru) is to use such a small size for the entire report and then set the size of font to what you actually want in each component. I use UNITS=PTS, SIZE=1 in the following -
ON TABLE SET STYLE *
  INCLUDE=endeflt, $
TYPE=REPORT, FONT='TIMES NEW ROMAN', UNITS=PTS, SIZE=1, HEADALIGN=BODY, $
TYPE=DATA, SIZE=9, BORDER=LIGHT, BACKCOLOR=(RGB(153 204 255) RGB(235 235 240)), $
TYPE=TITLE, SIZE=9, BORDER=LIGHT, COLOR='WHITE', BACKCOLOR='RED', STYLE=-UNDERLINE+BOLD, $
TYPE=HEADING, STYLE=BOLD, SIZE=9, JUSTIFY=CENTER, $
TYPE=HEADING, LINE=1, SIZE=10, COLSPAN=15, $
TYPE=HEADING, LINE=2, OBJECT=TEXT, COLSPAN=15, $
TYPE=HEADING, LINE=3, ITEM=2, COLSPAN=2, $
TYPE=HEADING, LINE=3, ITEM=5, COLSPAN=2, $
TYPE=HEADING, LINE=3, ITEM=6, COLSPAN=2, $
TYPE=HEADING, LINE=3, ITEM=7, COLSPAN=2, $
TYPE=HEADING, LINE=3, ITEM=8, COLSPAN=2, $
TYPE=HEADING, LINE=3, ITEM=9, COLSPAN=2, $
ENDSTYLE

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Silver Member
posted Hide Post
Thanks so much for your help guys!

-Luke


Web Focus 8105
Windows 7
 
Posts: 32 | Registered: January 13, 2014Report 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     [SOLVED] Space Between Alignment Grid and Report

Copyright © 1996-2020 Information Builders