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] Column splitting

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Column splitting
 Login/Join
 
Member
posted
Hi all,

We have a report which has 17 columns in it. While taking printout only the first 10 columns are displayed in the printout. The remaining 10 columns are truncated from the print-out. Is there any option to display the first 10 columns in the first page and the next seven columns in the second page?

Thankyou,
Ajai.

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


WebFOCUS 7.1.4,Linux,
HTML,PDF,Excel,CSV
 
Posts: 25 | Location: Chennai | Registered: August 27, 2008Report This Post
Expert
posted Hide Post
HTML is not the best format with which to provide printable output - use PDF format instead which honours ORIENTATION and PAGESIZE from within the STYLE.

Use WIDTH and WRAP with TYPE=REPORT to control column width.

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
Member
posted Hide Post
Hi Tony,

We have a separate PDF format output for the same report, and we have controlled the width of the report using WRAP command. But our client requires a printable HTML format also.
Any suggestions for that?

Thankyou,
Ajai.


WebFOCUS 7.1.4,Linux,
HTML,PDF,Excel,CSV
 
Posts: 25 | Location: Chennai | Registered: August 27, 2008Report This Post
Expert
posted Hide Post
Tell them that HTML is not suitable for reliable printing and that is why you provide a PDF output format, then get them to use PDF as supplied.

And when they tell you that they really want to print from HTML, set about playing with the STYLE so that you can get the output they need.

You might want to change the output to HTMTABLE and enclose in -HTMLFORM BEGIN and -HTMLFORM END, or even use SET JSURL and SET CSSURL to take advantage of any CSS or JavaScript you might like to utilise.

Search the Internet for possible HTML solutions.

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
<JG>
posted
Change browser to a version that allows scalable printing like IE7
 
Report This Post
Member
posted Hide Post
JG,

Most of our clients are using IE6. And we cannot advise our clients to change the browsers they use Frowner

Thankyou,
Ajai.


WebFOCUS 7.1.4,Linux,
HTML,PDF,Excel,CSV
 
Posts: 25 | Location: Chennai | Registered: August 27, 2008Report This Post
Virtuoso
posted Hide Post
If everybody always should stay to work he or she is used to, we did not have airplanes, cars, trains but only have horses (or elephants) to travel.
We still should use bow and arrow to make war....that would be nice....




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
Ajai,

There are several ways to do this: alternate master with a dummy sort field and the MacGyver Technique are two of these. It would be helpful to know what the formats of these 17 fields are.


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
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
quote:
There are several ways to do this: alternate master with a dummy sort field and the MacGyver Technique are two of these


¿¿¿ For printing an HTML page ???


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
No, for splitting up the data on two "pages".


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
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
Have you tried FORMAT DHTML, it is more like PDF, just not sure about the page length.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
You want to print 17 columns on a single page printing from an HTML browser? Good luck with that one. HTML and browsers are NOT for printing pretty documents - that's why on MANY applications there is a "Printable Version" button or link. Different browser types, browser versions, window sizes, font size displays, etc., etc. make it very difficult to control how something displayed in an HTML document actually comes out when you click the print button.

Back to the previous comments - the way to do that is provided by creating a PDF document.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Member
posted Hide Post
Ginny,
Thanks for your suggestions.I checked the McGyver technique, but the examples given in IBI's techsupport site were maily related to joining two different tables and also to produce subtotals at desired positions. I am not able to apply them into our scenario. Can you please give me an example?

Waz,
The webfocus version which we currently use (WF 714), is not supporting DHTML format.

Thankyou,
Ajai.


WebFOCUS 7.1.4,Linux,
HTML,PDF,Excel,CSV
 
Posts: 25 | Location: Chennai | Registered: August 27, 2008Report This Post
Guru
posted Hide Post
if my clients insisted on a printable HTML version i'd just provide a 'Printable Version' hyperlink which reran the report in PDF format


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
All Things Different

This is the one that should work for you. Ignore the part about subtotals. This one shows how you can print different columns based on the value of a sort field.


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
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
Ajai, to quote from Maxwell Smart.. Big Grin
quote:
Missed it by that much!


I ran it here on 7.1.6, it worked.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
Hi all,

Thankyou for your suggestions. We have finally decided to go with PDF format itself.

Thankyou,
Ajai.


WebFOCUS 7.1.4,Linux,
HTML,PDF,Excel,CSV
 
Posts: 25 | Location: Chennai | Registered: August 27, 2008Report 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] Column splitting

Copyright © 1996-2020 Information Builders