How to generate an excel spreadsheet from an Oracle Application forms runni
I need URGENT generate an Excel spreadsheet with rows and columns populated from a forms that is running on Oracle Application R11.5 and open this worksheet for the User save.
I want to include a PL*SQL code on a button and this button to run the spreadsheet open save for the User.
Sorry my poor English, thanks for the comprehension
909356 wrote:
I need URGENT generate an Excel spreadsheet with rows and columns populated from a forms that is running on Oracle Application R11.5 and open this worksheet for the User save.
I want to include a PL*SQL code on a button and this button to run the spreadsheet open save for the User. This functionality is already available in the application (File > Export) and you do not need to write a code to do that.
How To Export Form Data To a CSV Format File [ID 779079.1]
How To Setup Action Export Functionality in Release 11i [ID 136074.1]
Thanks,
Hussein
Similar Messages
-
Generating an excel sheet from an oracle table
Hi,
What is the easiest way to generate an .xls report from oracle i.e. when the user for example views some records in an oracle table using SQL_FORMS I want to then give them a button where they get a simple .xls report of the records in the table.
I have heard 'ole' method is one way, is that the best method and how is it done exactly...?
ThanksHave you tried this?
CREATE OR REPLACE procedure print_reports is
cursor c_mgr is
select
t1.ename,
t1.empno
from
emp t1
where exists
(select
'x'
from
emp t2
where
t1.empno=t2.mgr);
cursor c_direct_reports (cv_mgr number) is
select
empno,
ename,
job,
hiredate,
sal
from
emp
where
mgr=cv_mgr;
wfile_handle utl_file.file_type;
v_wstring varchar2 (100);
v_header varchar2(100);
v_file varchar2(100);
v_date varchar2(20);
begin
select
to_char(sysdate,'dd_mon_yyyy')
into
v_date
from
dual;
v_header :='empno'||chr(9)||'ename'||chr(9)||'job'||chr(9)||'hiredate'||chr(9)||'sal';
for r_mgr in c_mgr loop
v_file := r_mgr.ename||'_direct_reports_'||v_date||'.xls';
wfile_handle := utl_file.fopen ('REPORTS',v_file, 'W');
utl_file.put_line(wfile_handle,v_header);
for r in c_direct_reports(r_mgr.empno) loop
v_wstring := r.empno||chr(9)||r.ename||chr(9)||r.job||chr(9)||to_char(r.hiredate,'dd/mm/yyyy')
||chr(9)||r.sal;
utl_file.put_line(wfile_handle,v_wstring);
end loop;
utl_file.fclose (wfile_handle);
end loop;
end print_reports;
Reference:
http://www.orafusion.com/art_excel.htm -
How do I download a excel spreadsheet from my iPad back to my Mac Pro laptop
how do I download an excel spreadsheet from my iPad back to Mac Pro. the tech at the store showed my how to upload but not down load.
It kind of depends on how it is setup to sync. You can try to reverse his steps.
If you have icloud and use numbers - it will be done by icloud and you don't need to do anything
If he used file sharing in itunes, you need to drag that document backwards.
You can also email it.
And perhaps there are other ways as well. -
Hi. My 2013 MacBook Air has suddenly reverted to a previous Excel spreadsheet (from May). I use the same spreadsheet several times a day and hit cmd 's' every 5-10 minutes. How can I find the version I was using yesterday?? Please help. Thanks
Might be something for you here > Automatically save and recover files - mac excel
-
How to generate the BPEL interface from XSD?
I am new to the BPEL. How to generate the BPEL interface from XSD because I need the inputed payload to have a complex type instead the simple string?
Thank youI made the following change to the xsd file, however when the input type change to emailDataType, it is underline by red color. and the bpm process, activity guide, organization become the unknown project object.
<?xml version="1.0" encoding="UTF-8"?>
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/SampleBPM/SampleEmailNotification/SendEmail"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="process">
<complexType>
<sequence>
<element name="input" type="emailDataType"/>
</sequence>
</complexType>
</element>
<element name="processResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
<complexType name="emailDataType" >
<sequence>
<element name="toEmailAddress" type="string" />
<element name="ccEmailAddress" type="string" />
<element name="emailSubject" type="string" />
<element name="emailContent" type="string" />
</sequence>
</complexType>
</schema>
The XSD file is viewed by the design mode is fine on JDeveloper. Please help! -
Moving Excel Spreadsheets from Work to Home
I have had this problem for the past month. The problem is when moving Excel
spreadsheets from home to work only (1) out of (6) will not open. It says there is not enough memory. The other spreadsheets are larger so I know the allocation is ok. The work computer is an IMac running system 9.2, the home
computers are a G4 IMac and a G3 IBook. Both of these are running Tiger 10.4.4. These spreadsheets open on both of these Tiger computers.
I use a 128MB USBDrive for moving files back and forth. One thing I have noticed recently is that when opening at work the Icons say PC. I have a newer version of Excel at home, cannot load that version at work because it is not compatible with system 9.2.
Help????????Hi, klugej -
I don't use OSX, so can't suggest a method there. However, in OS 9, try highlighting the icon of the drive (click on it once), then select Erase from the Special menu. With luck, that will offer one of the Mac formats (probably Mac OS Standard) as well as MS-DOS. -
How to generate power point slides from web forms?
Hello,
Anybody know how to generate power point slides from the web forms. the data will in the database just like how we generate a report, just like that is there any way we can generate power point slides? if so could you please provide information please. Any examples are appreciated...
Thanks so much....Hi,
i have never tried it but in
this link you can see the it should be possible with the
powerpoint viewer.
Regards,
Markus -
I transferred excell spreadsheet from my old pc to my new mac. I used it last fortnight but now cannot find it. Any Help please.
I have tried Spotlight but to no avail I have an Imac.
gp140The file should still be listed by name under, "Open Recent."
-
How top Open a Excel Document from share point document library using jquery
How top Open a Excel Document from share point document library using jquery
Hi,
According to your post, my understanding is that you want to open excel file via JQuery.
To open excel file, we can use the following code.
<script type="text/javascript">
function openExcel(strFilePath) {
var yourSite = "http://www.yoursite.com";
openExcelDocPath(yourSite + strFilePath, false);
function openExcelDocPath(strLocation, boolReadOnly) {
var objExcel;
objExcel = new ActiveXObject("Excel.Application");
objExcel.Visible = true;
objExcel.Workbooks.Open(strLocation, false, boolReadOnly);
</script>
For more reference:
http://www.kavoir.com/2009/01/using-javascript-to-open-excel-and-word-files-in-html.html
http://www.dotnetspider.com/resources/43453-Open-Word-Excel-files-using-Javascript.aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
How to generate an IP core from an available Verilog code ?
Hi everyone,
Currently, I would like to test a Active Noise Cancellation (ANC) system on Zedboard. This system consist of a ANC Chip embedded inside FPGA and written by Verilog language and a earphone which includes a microphone and loudspeaker. This means we need to use ADAU1761 Chip for testing on Zedboard. I also have studied and known that in order to use and control this Audio Chip by writing Verilog code is so difficult.I also referred Lab4 on Xilinx website and I understand that my problem can be solved by synthesizing an IP core from Verilog (which I am programming for ANC chip) as FIR filter in Lab4. My biggest problem, I don't know how to generate an IP core from my Verilog code and I also don't know any tools can help me solve this problem.
Please kindly let me know the way to generate an IP core from my Verilog code or the tools I can use for this problem. Any your suggestions to solve this problem are significant with me.
Thanks in advance !h,
I would start reading the users guides, and reference manuals. I would work example through the tools.
An IP block is nothing but a verilog or VHDL block that you decide to use over again. Once your block is working, the tools (ISE or Vivado) allow you to capture it, and encapsulate it as an IP block that can be re-used later in other projects (it becomes a library function).
So, first get it to work. Then worry about making it an IP block, and then, only if you need to use it again and again in other projects. If not, then there is no need to go to the trouble of making it an IP block -- just use the verilog or VHDL whenever you need it.
-
How to generate .SQL format file from oracle database?
How to generate .SQL format file from oracle database?
I have a database of Oracle 8.1.6,now want to generate script file (including table structure,index,etc.) from it,What should I do?
Thanks.Your question pertains to the Database Export/Import. This forum exclusively focusses on the export/import utilities that come along with "Oracle Portal" which is a web-based tool. Could you please post your question under the RDBMS export/import or migration forum.
-
How to Create a excel file from a table.
i want to excel output from a oracle table.
Please use below one:
DECLARE
CURSOR C1
IS
SELECT DISTINCT JVH_LCM_LCTN_CODE FROM F_JV_HDR;
CURSOR C2 (V_LOC VARCHAR2)
IS
SELECT *
FROM
(SELECT *
FROM F_JV_HDR
WHERE JVH_JV_DATE <= '31-OCT-2011'
AND JVH_DSM_DCMNT_TYPE = 'SJV'
AND JVH_LCM_LCTN_CODE = V_LOC
ORDER BY JVH_JV_DATE DESC
WHERE ROWNUM <= 10
UNION ALL
SELECT *
FROM
(SELECT *
FROM F_JV_HDR
WHERE JVH_JV_DATE > '31-OCT-2011'
AND JVH_DSM_DCMNT_TYPE = 'SJV'
AND JVH_LCM_LCTN_CODE = V_LOC
ORDER BY JVH_JV_DATE
WHERE ROWNUM <= 10;
v_file utl_file.file_type;
linebuf VARCHAR2(32767);
BEGIN
v_file := utl_file.FOPEN('MAIL_OUTPUT','F_JV_HDR-SJV.csv','w') ; --Change the CSV file name
LINEBUF := 'JVH_LCM_LCTN_CODE,JVH_DSM_DCMNT_TYPE,JVH_JV_TMPRY_NMBR,JVH_JV_TMPRY_DATE,JVH_SRCE_INDCTR,JVH_CRTD_DATE,JVH_CRTD_BY,JVH_ATHRSTN_STS,JVH_DSM_TRM_TR_CODE,JVH_DSM_DCMNT_SRS,JVH_LCM_LCTN_CODE_BOOK,JVH_ATHRSTN_RQRD_INDCTR,JVH_FNCL_CLSRE_INDCTR,JVH_TRNSCTN_WITH_INDCTR,JVH_TRNSCTNR_CODE,JVH_JV_NMBR,JVH_JV_DATE,JVH_RMRKS,JVH_JV_RVRSD_NMBR,JVH_CHQE_DUE_DATE,JVH_ATHRSD_DATE,JVH_ATHRSD_BY,JVH_TR_CODE_RVRSD,JVH_DCMNT_TYPE_RVRSD,JVH_JV_RVRSD_INDCTR,JVH_NJV_TAG,JVH_TYPE,JVH_AUTO_RVSL_INDCTR,JVH_AUTO_RVSL_DATE,JVH_BUS_BKS_UPLOAD'; --Chage the headings
utl_file.put_line(v_file,linebuf);
FOR I1 IN C1
LOOP
FOR I2 IN C2(I1.JVH_LCM_LCTN_CODE) --Change the cursor parameter
LOOP
LINEBUF := I2.JVH_LCM_LCTN_CODE||','||I2.JVH_DSM_DCMNT_TYPE||','||I2.JVH_JV_TMPRY_NMBR||','||I2.JVH_JV_TMPRY_DATE||','||I2.JVH_SRCE_INDCTR||','||I2.JVH_CRTD_DATE||','||I2.JVH_CRTD_BY||','||I2.JVH_ATHRSTN_STS||','||I2.JVH_DSM_TRM_TR_CODE||','||I2.JVH_DSM_DCMNT_SRS||','||I2.JVH_LCM_LCTN_CODE_BOOK||','||I2.JVH_ATHRSTN_RQRD_INDCTR||','||I2.JVH_FNCL_CLSRE_INDCTR||','||I2.JVH_TRNSCTN_WITH_INDCTR||','||I2.JVH_TRNSCTNR_CODE||','||I2.JVH_JV_NMBR||','||I2.JVH_JV_DATE||','||I2.JVH_RMRKS||','||I2.JVH_JV_RVRSD_NMBR||','||I2.JVH_CHQE_DUE_DATE||','||I2.JVH_ATHRSD_DATE||','||I2.JVH_ATHRSD_BY||','||I2.JVH_TR_CODE_RVRSD||','||I2.JVH_DCMNT_TYPE_RVRSD||','||I2.JVH_JV_RVRSD_INDCTR||','||I2.JVH_NJV_TAG||','||I2.JVH_TYPE||','||I2.JVH_AUTO_RVSL_INDCTR||','||I2.JVH_AUTO_RVSL_DATE||','||I2.JVH_BUS_BKS_UPLOAD; --Change the cursor values
utl_file.put_line(v_file,linebuf);
END LOOP;
END LOOP;
UTL_FILE.FCLOSE(V_FILE);
END;
/ -
How do I create an app from my Adobe pdf forms to use on any mobile device as well as windows and ios? I have all the apps in Creative Cloud by the way.
If you already purchased it with the same Apple ID, then you will not be re-charged.
-
How to call a COM object from an Oracle Form?
Hi All,
Pls advice. How to call a COM object from an Oracle Form?
Thanks.try asking the "Form" forum
-
How can i save the data from the Oracle database to my local directory
How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run.
Maybe you are looking for
-
Help installing Photoshop CS3 on a new computer
I contacted Adobe online customer support on 11/16/09 because Photoshop CS3 would not run on my new laptop (HP with Vista Premium Home Edition 64bit). Adobe responded 6 - 7 days later with info that I had already tried or which did not work. With
-
Value for Retry Interval in Sender File Communication Channel
Hi All, I am trying to set Retry Interval for File Adpter as null as per Help. <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c0
-
How to use functional global with a large amount of variables?
Hi all, I'm currently developping a LV program which control and acquired data from a device. Up to now I used global variables ( very conveniente to use for experimental parameters). But now my program is become to be too large and I have too much "
-
Firmware! What the **** is going
What the hell is up with not having the original firmware available for download on your site? Why should I have to send my player back at my expense for you to run a program that any idiot could run himself? I've been looking for the US firmware for
-
Installaing ECC6.0 with oracle as DB on win 2k3 Getting any error
Hi All I am unable to find out the error while i am installaing ECC6.0 with oracle as DB on win 2k3 please find the error report ERROR 2008-11-06 08:57:24 FCO-00011 The step unpack with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|