Focal Point
[CLOSED] Remove gap inside HEADING

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

June 06, 2019, 06:17 PM
ManojTK
[CLOSED] Remove gap inside HEADING
Hi, I am a newbie to WebFocus and I am trying to create a report to generate bin tag labels. Basically this label is like a price tag label that is pasted on box.

Label should look something like below

Dimension A Dimension B
Measure A Dimension C
Measure B Dimension D

I used the matrix style report using reference from Mailing Labels and Multi-Pane Pages section of the IBI document. I was able to get most of the alignments fixed, but the Measure A and Measure B adds a huge white space in front causing the matrix to look something like below.

Dimension A Dimension B
Measure A Dimension C
Measure B Dimension D

Is there a way to remove this white space that appears in front of Measure A and Measure B. Please see below for the code my code. Thank you in advance.


TABLE FILE BV_CATEGORY_MANAGEMENT

SUM
BV_CATEGORY_MANAGEMENT.FACT_ACD_SALES_VOLUME.SALES_VOLUME_MONTH NOPRINT AS ''
BY BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.BRAND_NUMBER NOPRINT AS ''
BY BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.BRAND_NAME NOPRINT AS ''
BY BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.WINE_VARIETAL NOPRINT AS ''
BY BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.UNIT_SIZE_ML NOPRINT AS ''
BY BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.COUNTRY_OF_ORIGIN NOPRINT AS ''

ON BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.BRAND_NAME PAGE-BREAK
HEADING
"'<'BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.BRAND_NAME ''" "
"$'<'BV_CATEGORY_MANAGEMENT.FACT_ACD_SALES_VOLUME.SALES_VOLUME_MONTH '<'BV_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.WINE_VARIETAL"
"($'<'BV_CATEGORY_MANAGEMENT.FACT_ACD_SALES_VOLUME.SALES_VOLUME_MONTH -TAXES & DEPOSIT INCLUDED)<'BV'_CATEGORY_MANAGEMENT.DIM_ITEM_ACD.BRAND_NUMBER"
WHERE RECORDLIMIT EQ 90
WHERE READLIMIT EQ 90
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
$
PAGEMATRIX=(2 10),
ELEMENT=(4.000000 1.000000),
GUTTER=(0.138889 0.000000),
MATRIXORDER=HORIZONTAL,
$
LABELPROMPT=OFF,
$
TYPE=HEADING,
LINE=1,
ITEM=1,
FONT='IBIDEFAULT',
COLOR=RGB(255 50 100),
STYLE=BOLD,
WRAP=2.000000,
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=1,
ITEM=3,
FONT='IBIDEFAULT',
SIZE=8,
COLOR=RGB(255 50 100),
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=1,
ITEM=4,
FONT='IBIDEFAULT',
SIZE=8,
COLOR=RGB(255 50 100),
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=3,
ITEM=1,
FONT='IBIDEFAULT',
COLOR=RGB(30 128 245),
STYLE=BOLD,
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=3,
ITEM=2,
FONT='IBIDEFAULT',
COLOR=RGB(30 128 245),
STYLE=BOLD,
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=3,
ITEM=4,
FONT='IBIDEFAULT',
COLOR=RGB(30 128 245),
JUSTIFY=RIGHT,
$
TYPE=HEADING,
LINE=4,
ITEM=1,
FONT='IBIDEFAULT',
SIZE=8,
COLOR=RGB(255 50 100),
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=4,
ITEM=2,
FONT='IBIDEFAULT',
SIZE=8,
COLOR=RGB(255 50 100),
JUSTIFY=LEFT,
$
TYPE=HEADING,
LINE=4,
ITEM=3,
FONT='IBIDEFAULT',
SIZE=8,
COLOR=RGB(255 50 100),
JUSTIFY=LEFT,

$
TYPE=HEADING,
LINE=4,
ITEM=4,
FONT='IBIDEFAULT',
SIZE=8,
COLOR=RGB(255 150 100),
JUSTIFY=LEFT,
$
ENDSTYLE
END

This message has been edited. Last edited by: FP Mod Chuck,
June 07, 2019, 08:25 AM
MartinY
Welcome to IBI world.

First, please use the code tag when posting any sample result or code.
It's the last icon on the ribbon which look like the below
</>

Using the above, we'll be able to see what you mean because now both sample are identical.

It's always a good idea trying to reproduce with one of legacy file such as CAR file. That way we are able to reproduce our self your problem.

If you want to remove the leading blanks, an option is to use the LJUST, LTRIM or TRIM_ functions
Character Functions
Simplified Character Functions

Hope that help, otherwise please clarify


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007