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] report format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] report format
 Login/Join
 
<Zakir>
posted
I need to create a report which should be able to display in any format(say HTML,PDF or Exl). How do i do tat?
--------------------------------------------------
Webfocus 7.6.1, Windows XP, Oracle 10g

This message has been edited. Last edited by: Kerry,
 
Report This Post
Virtuoso
posted Hide Post
You will have to receive a value in a &variable and use some dialog manager to choose the output. Assuming the variable name to be &OUTPUT, the simplest form would be to have the following in your fex:

ON TABLE PCHOLD FORMAT &OUTPUT

where &OUTPUT would have values HTML, PDF, EXL2K


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
<Zakir>
posted
Ah! so simple thanks a lot..
 
Report This Post
Virtuoso
posted Hide Post
These are very basic things in WebFocus. You really should attend a course before starting to work with the product. If that's too much, then you should at least study the 'Getting Started' documents that IB provides. Or get a copy of the Creating Reports manual or the WebFOCUS Keysheet.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
Well, that's only the first question that needs to be asked, and has an easy answer. If the reports are all very simple, then that's pretty much it. If you get into very complex formatting, using images, complex stylesheets, drilldowns, etc., then things may change completely. For example, an image or logo on a report is not produced the same in an HTML-only document as in a PDF. Drilldowns in PDF/Excel may require additional code that HTML documents do no require. Spacing in HTML documents is not preserved like it is in PDF. Some functionality like HEADLIGN and COLSPAN have no effect in PDF.

So there really is a lot more you need to know about making a report work the same in any output besides just changing PCHOLD FORMAT HTML to PCHOLD FORMAT PDF. Training and documentation are the necessary starting points.


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
  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] report format

Copyright © 1996-2020 Information Builders