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] merging the two report in HTML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] merging the two report in HTML
 Login/Join
 
Member
posted
Got stuck again,
So I got this table :

COUNTRY SALES
ENGLAND 12000
FRANCE 0
ITALY 30200
JAPAN 78030
W GERMANY 88190

COUNTRY DEALER_COST
ENGLAND 37,853
FRANCE 4,631
ITALY 41,235
JAPAN 5,512
W GERMANY 54,563

need to merge the two report so it comes out like this in HTML:
-********************************
Page 1.
COUNTRY SALES
ENGLAND 12000

COUNTRY DEALER_COST
ENGLAND 37,853
-********************************
Page 2.
COUNTRY SALES
FRANCE 0

COUNTRY DEALER_COST
FRANCE 4,631
-********************************
Page 3.
COUNTRY SALES
ITALY 30200

COUNTRY DEALER_COST
ITALY 41,235
-********************************
Page 4.
COUNTRY SALES
JAPAN 78030

COUNTRY DEALER_COST
JAPAN 5,512
-********************************
Page 5.
COUNTRY SALES
W GERMANY 88190

COUNTRY DEALER_COST
W GERMANY 54,563
-********************************

Can anyone know how to do this?

Thanks in advance....
Sunil

This message has been edited. Last edited by: Kerry,


Webfocus 7.1.6
Windows
Excel, HTML, PDF,AHTML
 
Posts: 21 | Registered: April 08, 2009Report This Post
Virtuoso
posted Hide Post
Of course this is an example, so it will need to be adjusted for your real situation, but for the example given, it works. And it's not about merging the data, but about how to do the report, so I just used the one datasource, CAR.
TABLE FILE CAR
SUM   SALES NOPRINT
      DEALER_COST NOPRINT
BY    COUNTRY NOPRINT

ON    COUNTRY SUBHEAD
"COUNTRY<+0>SALES"
"<COUNTRY<SALES"
" "
"COUNTRY<+0>DEALER_COST"
"<COUNTRY<DEALER_COST"
" "
HEADING
"-****************************************"
"Page <TABPAGENO<+0>."
ON COUNTRY PAGE-BREAK
ON TABLE SET HEADALIGN INTERNAL
ON TABLE NOTOTAL
ON TABLE SET STYLE *
$
TYPE=REPORT, FONT='VERDANA', SIZE=9, COLOR='BLACK', STYLE=NORMAL, GRID=OFF,$
TYPE=SUBHEAD, LINE=1, OBJECT=TEXT, ITEM=1, COLOR='WHITE', BACKCOLOR='MAROON', WIDTH=1.2, STYLE=BOLD,$
TYPE=SUBHEAD, LINE=1, OBJECT=TEXT, ITEM=2, COLOR='WHITE', BACKCOLOR='BLUE', WIDTH=1.2, STYLE=BOLD,$
TYPE=SUBHEAD, LINE=4, OBJECT=TEXT, ITEM=1, COLOR='WHITE', BACKCOLOR='MAROON', WIDTH=1.2, STYLE=BOLD,$
TYPE=SUBHEAD, LINE=4, OBJECT=TEXT, ITEM=2, COLOR='WHITE', BACKCOLOR='BLUE', WIDTH=1.2, STYLE=BOLD,$
TYPE=SUBHEAD, LINE=2, OBJECT=FIELD, ITEM=1, WIDTH=1.2,$
TYPE=SUBHEAD, LINE=2, OBJECT=FIELD, ITEM=2, WIDTH=1.2,$
TYPE=SUBHEAD, LINE=5, OBJECT=FIELD, ITEM=1, WIDTH=1.2,$
TYPE=SUBHEAD, LINE=5, OBJECT=FIELD, ITEM=2, WIDTH=1.2,$
ENDSTYLE
END
Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Thanks... It works

Sunil


Webfocus 7.1.6
Windows
Excel, HTML, PDF,AHTML
 
Posts: 21 | Registered: April 08, 2009Report 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] merging the two report in HTML

Copyright © 1996-2020 Information Builders