Call 10g report from 4.5 form
Hi everyone,
Can anyone please tell me, how can i call a 10g report from a 4.5 form? Which are the implications on both sides?
thanks in advance,
MC
Please, can anyone help me?
All of these suggestions are limited because of the forms engine and plsql engine within forms. You will have to try them. And none of these configurations are supported by oracle.
Use the old run_product. You will have to install reports runtime on every client
RUN_PRODUCT(product, document, commmode, execmode, location,
list, display);Try to make a call to a package in the database that calls utl_http, which makes a call to your reports server via a url.
Maybe an OLE or VBX call out to IE?
All of these are stabs in the dark.
Try upgrading forms!!!
Similar Messages
-
Can we call 10g Report from Form-6i???
Hi buddies.....Can we call a report developed in 10g reports from a 6i Form using Run_Report_Object???
Hi,
you can run the reports in 6i. There won't be any problem. I have checked with the RDF file.
I don't know whether the REP file which is generated in 10g can be opened in 6i or not.
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks. -
Calling a report from an existing form
hi all,
i am new to this forms and reports. i have created a report which gives information about an employee. and name it as activity report. i am using reports Report Builder 10.1.2.0.2. i have also created a form. my purpose is " i will enter the employee id, a starting and ending dates as input to the form. these values r to be passed to the query of the reports and the report has to extract the records of that employee between the start and end dates." how can i achieve this. i am entirely new to this reports and forms. please give me a clear reply so that i can call my report and pass that dates and id to my report. and also please explain me how to call a report from a form and make it to run. please make me clear where to write the code whether in forms or rports.
thank you.Hi,
Check this sample Code..
DECLARE
pl_id ParamList;
pl_name VARCHAR2(10) := 'repdata';
BEGIN
pl_id := Get_Parameter_List(pl_name);
IF Id_Null(pl_id) THEN
pl_id := Create_Parameter_List(pl_name);
Add_Parameter(pl_id, 'P_STARTDATE', TEXT_PARAMETER,:BLK_CTRL.P_TODATE);
Add_Parameter(pl_id, 'P_ENDDATE', TEXT_PARAMETER, :BLK_CTRL.P_CURRENCY);
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
ELSE
Destroy_Parameter_List( pl_id );
END IF
RUN_PRODUCT(REPORTS, 'D:\MMRROLDL.RDF' ,SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id ,NULL);
END; -
Calling a report from a web form & specifying PDF format
Has anyone been able to call a report from Oracle Forms (6i or 9i) in a web browser (i.e. by pressing a button or any other link)? We are having problems generating the report in PDF format when we web deployed our forms. In client server mode it works fine with the report deferring to PDF. But in the web browser it reverts to a messy HTML format with the columns being distorted. Running a standalone report from the web is no problem but when it is linked with a form it goes back to HTML. In the old forms (5.0) we used a function like run_product but I am not sure what the problem is in the new environment.
T.J.Hello,
According to the way the reports is launched, the format of the reports output depends on the
variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
Can you check the variable FORMS60_REPFORMAT ?
regards Dennis:
Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
Thanks again for your help!
T.J. -
Calling 10g Report from 6i Form
A 6i client-server form has a call to a 10g report in the form of a URL.
The HOST command calls Internet Explorer and with the URL appended. This, however, keeps the form locked until IE is closed.
Is there a way around this or a better way to call a URL from 6i Forms?
Thank you.Found an example. It seems to work fine.
I believe this is replaced in Forms 10g by web.show_document though.
win_api_shell.winexec(vcCommand, WIN_API.SW_SHOWNORMAL, FALSE); -
Calling 10g reports from ADF_BC Application
Dear All;
Good day to you;
I have an ADF_BC application, and at the same time i have 10g reports compiled and placed on forms and reports server,
i want to call reports from my application as needed, i can put a hyperlink with the link to the report, and it is working fine,
but i want to know how to change the link to be dynamic, since the application is deployed on 1 application server, and the rerports on the other
in addition i need, to know how to send parameters
i am unable to change the properties of a hyperlink in the code, and i do not want to change it in scriplet
any idea, or tutorials will be most helpful
thank you
regards
halimHello John;
Thank you for your reply;
Yes i am using JSF, i am working on JDEV 10.1.3.30, i deployed my application to srvanweb2 a server we have, where the application server port is 7777,
and i have deployed my reports to srvanweb2 with port being 7778,
Report: http://srvanweb2:7778/reports/rwservlet?cmdkey=user_string&report=hrempr007.rdf&destype=cache&desformat=pdf
Application: http://srvanweb2:7777
my problem is, if i want to embed the link to the report as a common HTML hyperlink it would work, but if i want to set the value for this hyerplink dynamically to be able to add parameters on run time i would have to do it on the scriptlet level, and i can not do it in a bean, since i can not call the hyperlink set value, or even the get value, so my question what should i use to create a link which will change in a bean as you said and be able to call a differnet instance which is srvanweb2:7778, and send parameter
regards
Halim -
Calling a Report from a Web Form
Hi,
I am calling a Report developed in report 6i from a Web form 6i
Button. I am unable to launch the Report if Report is using a
Customized Template. The report is able to launch if it has no
template or using the templates given in report wizard. Is there
any setting required in the Report Server for reading the
template file???Hello,
According to the way the reports is launched, the format of the reports output depends on the
variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
Can you check the variable FORMS60_REPFORMAT ?
regards Dennis:
Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
Thanks again for your help!
T.J. -
Call 10g Report From Menu(.mmb)
Hi All,
I want to call a Simple 10g paper layout report from Menu.. How can I do this..
I have searched a lot and didn't find any exact answer
TIAWell m using this simple code to call my paper layout report and I have mentioned it in the report node but it gives me the error
frm-41213 unable connect report server
DECLARE
report_id Report_Object;
ReportServerJob VARCHAR2(254);
BEGIN
report_id := find_report_object('emp');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'PDF');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'Rep60_zubairit'); /*my report server name*/
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='||:Deptno||' paramform=no');
ReportServerJob := run_report_object(report_id);
END;
didnt get what the actual problem is..do i need to make any changes in reports folder located in developer folder??
TIA -
Calling a report from designer genareted form
i will appraciate if anyone can tell me how to create a form module that navigate to a report module in 9i designer.i tried action item but i receieved couple of different error messages.i have also tried to find information on this but i couldnt
thanks!Okay, this is gonna be tricky to explain but lemme give it a shot:
I'm assuming that your Report is a Called Module inside your Form. This allowed you to create an Action Item that calls this Report upon pressing the provided button. Now, generate your Form and open the .FMB. Try to locate these two things:
1. The Report attached to your form, with the Designer-provided name "CG$OFG_REPORT", and
2. A Program Unit named "CGNV$AI_(name of action item)" (e.g., I named my action item "FAX" so the prog. unit is named "CGNV$AI_FAX").
If you dig into the Program Unit's code, you will find that it makes use of a procedure named "CGNV$INVOKE_REPORT" which resides in the standard, provided PL/SQL Library "OFGNAVL.PLL" . I looked for my Ofgnavl file and opened it up to inspect the CGNV$INVOKE_REPORT procedure. I found that it has been hard-coded to call the report "CGNV$OFG_REPORT", and not "CG$OFG_REPORT" !!! That's probably why your action item is failing.
Inspect the procedure a little further. There are about seven lines, one after another, that all invoke the SET_REPORT_OBJECT_PROPERTY built-in procedure, and then the RUN_REPORT_OBJECT immediately after. What I did was to copy this code, go all the way back to Designer (Design Editor), and build myself a procedure under my module's Application Logic, Named Routines which calls the correct report (I even varied this slightly by specifying the report by it's filename). I even added some code to put out some feedback (i.e., Message) to tell the user when the report has finished successfully.
To make a long story short, I wrote a procedure to invoke my report, and then I just created a button that calls the procedure when a user presses it.
Hope this helps. Feel free to email me if you need further guidance.
Carlos -
Call Oracle Reports from Forms ver 9i or 10g
Hi,
Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
What is the best way to call the reports from the form ??? pls help...
Thanks in avdance.
Jitesh ([email protected])You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
In the Forms help you should find examples.
If you have access to Metalink, have a look at Note:207396.1. -
HOW TO HIDE USERID PARAMETER, WHEN CALL REPORT FROM MENU USING FORM 10G
good morning colegas
i'm from panama
when i call a report from a oracle forms menu, its send a user, pass and bd in the url, i need to hide this parameter userid,
cuando llamo un reporte desde forms, se envia el usuario, pass y bd en el url nesesito ocultar estos parametros del url, le agradeceria si alguno tiene algun eejmplo q me de, de como ocultar estos parametros
i'm using oracle forms y report 10g
this is my msn [email protected]
slds desde panamathis document show us, only when i call a report from a forms, but not from a menu!
but to hide these parameters, i need to create a bean in a block a way and the menus do not allow me to create these objects
you done this before?
you have a example?
slds desde panama -
How can we call a report from a form.
how can we call a report from an existing form.
Have you searched the Forms help system? It shows you how to use RUN_REPORT_OBJECT
-
Calling Report from Menu (Oracle Forms 10g)
We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.Here is the code to call report from menu in 10g
DECLARE
pl_id ParamList;
repid REPORT_OBJECT;
v_rep varchar2(100);
v_server VARCHAR2(100);
rep_status varchar2(100);
v_host VARCHAR2(100);
BEGIN
select rep_server into v_server from reports_data;
select machine into v_host from reports_data;
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
repid := find_report_object('REPORTOBJ');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
v_rep := RUN_REPORT_OBJECT(repid, pl_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
message('Running');
END LOOP;
IF rep_status = 'FINISHED' or rep_status is NULL THEN
--Display report in the browser
WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
ELSE
null;
END IF;
END; -
Calling a Report from Form in 10g
Hi all,
I am very new to Oracle Form builder, I wana to call a report from a Form.
we are using Oracle 10g Developer suit.
Can any body please help me regarding on this?
Regards
Tanmaya Pradhan(Tam)..or
Take a look at
Re: Run Report10g Through form 10g -
Calling a report from oracle form 10g
how to call a report from oracle form 10g
Please see the link:
http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
Maybe you are looking for
-
Keyboard viewer causing lock ups
Keyboard viewer is causing me some headaches. I have a handicapped user who can better use a mouse than a keyboard, and needs to use keyboard viewer. However, after enabling keyboard viewer, if they user logs out of the computer, and logs in again la
-
Hello. I just bought my first Imac. Each family member has created an account. My question is: can each person use imessages privately when logged into their account? instead of everyone seeing everyones imessages? is there a way to do this?
-
Looking for a gaming controller that will work with iMac
I'm not really into gaming, but I just bought a game and right now I have to use the keyboard keys and I'm finding it to be a not so enjoyable gaming experience. So I would like to purchase a gaming controller.... does anyone have any recommendations
-
Error while clonning on a new system - APPS 11i
Hi all i am facing an issue i am cloning oracle apps 11i i have run preclone before copying the db and app tiers oracle apps version 11.5.10.2 DB 9.2.0.6.0 OS Windows 2003 32 bit with sp1 i have installed all the pre req that are MKS TOOLKIT VC++ XML
-
So i tried to use a usb flash drive to save a word document on my macbook, but i couldnt find the flash drive, or even where to find the usb port. can somebody tell me how to use a usb flash drive on macbooks?