Focal Point
[SOLVED] Excel report formatting

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

September 01, 2009, 04:12 PM
<Kev>
[SOLVED] Excel report formatting
I'm trying to generate a report in Excel format. My requirement is that the report needs to start at a fixed row and column (say ``C9'') and it should retain whatever existed originally in the template before the row on which output begins. Is there any way to do this?

Thanks!

This message has been edited. Last edited by: Kerry,
September 01, 2009, 05:14 PM
Darin Lee
Check out Excel templates in the documentation


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
September 02, 2009, 11:37 AM
<Kev>
Can you please point me to any available in online documentation?

Thanks!
September 02, 2009, 11:41 AM
GinnyJakes
The doc link is in the upper right corner of this page.


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
September 02, 2009, 01:35 PM
<Kev>
Unfortunately, I can't find anything for my case. Basically what I want to find out is - can I control what {row,column} output gets printed on?

Thanks!
September 02, 2009, 01:49 PM
Tony A
To move the report content down x rows have x lines in your header. To move it y columns to the right have y empty fields in your output. Open your mind to what you want to do and it will become obvious how to achieve it.

As for leaving current content untouched then Darin has already given you a pointer to your solution, excel templates.

Understand that in a template file, if you target sheet number 2 (for instance) then that sheet is "deleted" and your report is created in that location (as a new sheet essentially) so you should see why existing content gets wiped out.

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 
September 02, 2009, 02:17 PM
Francis Mariani
In addition, the Excel template's sheet 1 is the one that should have the existing data on. Cells in sheet 1 can refer to cells in sheet 2 - this is the way you get the WebFOCUS data in sheet 2 to display in sheet 1 - the one the user will use. There is a method to suppress the sheet tabs so that the user doesn't know that there are multiple sheets, but I don't like using that.

Documentation on Excel Templates:
Creating Reports With Graphical Tools > Styling Reports With the Report Painter > Using Excel Templates

Creating Reports With WebFOCUS Language > Choosing a Display Format > Using Excel Display Formats: Excel 2000, Excel 97, Excel > Creating Excel Templates

How to hide the worksheet tabs in EXL2K Template output?


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
September 02, 2009, 02:25 PM
<Kev>
+1 for Line 1! I think I can figure out what needs to be done now.

Thanks a lot!
September 02, 2009, 05:17 PM
Tony A
Give a man a fish and he'll eat well for one day.

Give him a boat and rod ......

You know the rest Wink

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