Focal Point
[SOLVED] How to show a report and a graphic in the same Window

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

May 13, 2011, 03:06 PM
anrix
[SOLVED] How to show a report and a graphic in the same Window
Hi everyone,

I want to show the result of a Report and a Graphic in the same window (in a HTML view), the data that I use in the report, is the same data that I want to show in the graphic.

I don´t know how to do that.

I appreciate your help

Thanks!

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


WebFocus 7.6.10, windows 7, win server 2003-2008 PDF, TXT, XML, html, xls, doc
May 13, 2011, 03:50 PM
Severus.snape
Hi,

You could do this in many ways..
Use IBI.FIL method to embed the TABLE FILE output and GRAPH output in a HTML form..

Fetch the required data first and HOLD it in a file and create the Report and Graph off that file..

thanks
Sashanka


WF 7.7.03/Windows/HTML,PDF,EXL
POC/local Dev Studio 7.7.03 & 7.6.11
May 18, 2011, 03:03 PM
anrix
Hi,

but I don´t know how to do that. (use the IBI.FIL method)


Thanks!
Antonio


WebFocus 7.6.10, windows 7, win server 2003-2008 PDF, TXT, XML, html, xls, doc
May 18, 2011, 03:41 PM
Dan Satchell
A very basic technique is to use the bar graph function built into TABLE FILE StyleSheet. The sample code below is, for the most part, taken straight out of the Creating Reports manual.

DEFINE FILE GGSALES
 DIFFERENCE/D7M = DOLLARS - BUDDOLLARS ;
END
-*
TABLE FILE GGSALES
 SUM
  BUDDOLLARS/D7M
  DOLLARS/D7M
  DIFFERENCE AS 'Difference'
 BY CITY
 ON TABLE SET PAGE-NUM OFF
 ON TABLE SET STYLE *
  GRID=OFF, $
  GRAPHTYPE=DATA, COLUMN=DIFFERENCE, $
  TYPE=REPORT, GRAPHCOLOR=BLUE, $
 ENDSTYLE
END



WebFOCUS 7.7.05
May 18, 2011, 05:00 PM
<JG>
I'm sorry this is so basic.

Get some training.
May 19, 2011, 11:00 AM
anrix
ok, thanks for you help!

Greetings


WebFocus 7.6.10, windows 7, win server 2003-2008 PDF, TXT, XML, html, xls, doc