Rep2excel User's GuideLast updated: 03/14/2007 |
Index
|
OverviewThank you very much to choose rep2excel to export your oracle report to ms-excel! Oracle Reports have not provided any convenient way to get report output in ms-excel format so far, you are looking for some solution to solve this problem. We know what you need and created this tool -- rep2excel. Rep2excel is developed for oracle report only, so using rep2excel may be the most perfect way to export oracle report data to ms-excel. But rep2excel is a win32 console application, it doesn't have user-friendly interface, so it is not easy to master if you knows little about CGI (Common Gateway Interface), however, please don't be worry because rep2excel works fine with default setting. Rep2excel provide 2 user interface:
|
Call Rep2excel through command lineRep2excel support command line interface, you can call it through dos prompt, you can also call it by HOST built-in in Oracle Forms. Please use rep2excel --help
to get the usage . For example, the file d:\working\rep\emp_list2.htm will be converted, see below D:\working\Rep2excel111\Release>rep2excel
-i:d:\working\rep\emp_list2.htm |
Deploy Rep2excel in web server, call it through http linkRep2excel support CGI interface, you can install rep2excel on a web-server which supports CGI and invoke this program using WEB.SHOW_DOCUMENT built-in.[Demo Online] How to install rep2excel on a web-server. 1)Please make sure your web-server support CGI, the Apache is recommended. 2)Copy files. Copy the r2xls folder to the root of the web server. 3)Use IE to test whether rep2excel works. Sample URL, you should changed
the port and server address. click the open button, IE will show you excel output
|
Integrate Rep2excel into your applicationindex
Call Rep2excel through HOST built-in in Oracle forms.Sample code
Call rep2excel from oracle forms from web. You can call rep2excel from oracle forms using web.show_document built-in. The following sample code demonstrates how to change your code to work
with rep2excel. In an encoded string, blanks are changed into + and special characters
are made by the % symbol, followed by the hexadecimal digits of the ASCII
code. The sample code of function encode_url is
There is a example included in rep2excel installation patch. You can
download the latest version Call rep2excel from web pageIf you call oracle report server from a html form, you can also call rep2excel to convert the oracle report output. and you will have to do some coding, see the sample code: function runReport() //Leo Change begin if (document.REPFORM.mailto.value !=
"") //Send excel file }else runWindow = window.open(URL); For more details, please refer to the example from http://www.lv2000.com/examples/run_rep_example.zip |