Web.show_document in calling parameter form of a report(solved)
Hi,
Can you please write which is the syntax of calling a report in Dev10g which has a parameter form.....????
something like ....but i don't know how exactly....
param_form_var:='yes';
URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&report=c:\erga\app\odoiporika_mono\sigk_katast_selected_months_.rdf'||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var||' param_form='||param_form_var;
WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
NOT param_form='||param_form_var....
but
paramform='||param_form_var....
Thanks ,
Simon
Message was edited by:
sgalaxy
Eventually , the report run... when the active thread got the value 1. How is it done...(i mean the value of 1 , instead of 2 when the report started...????) How to secure that the active thread would be 1 if this is the problem...????
However , because the report is 2 page accross.... the report displays the first page and down the other page.... Is it possible to display both pages accross as i see them in report builder env....?????
Thanks , a lot
Simon
Similar Messages
-
Web.Show_Document does not work with long running reports
I am using Web.Show_Document() to call reports from Forms. Everything works fine for smaller reports. However for long running reports I do not get the output instead get the page "This page cannot be displayed.". On checking the job status on the report server I find that report is still running and completes after some time but by that time my http request has already timed out. What configuration do I have to change to make my long running reports work.
ThanksSo, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....
-
Parameter Form in Oracle Report!!
Dear Oracle Users' Group:
I have problem with "Parameter Form" in Oracle Report.
The Report that I created has the SQL:
"SELECT A.FIELD1, A.FIELD2
FROM MYDATABASE.MYTABLE A
WHERE
A.FIELD1 = :P_1";
When the report is run, it asks for the parameter
and generates the report based on the runtime
parameter. Works perfect on Oracle8i database's
Report front end.
The PROPERTY PALETTE for the FIELD (Field that
takes the runtime parameter) is:
====================
General Information
Name: PF_P_1
Comments:
Parameter Form Field
Source: P_1
Parameter
Datatype: Character
Width: 40
Initial Value:
Validation Trigger:
List of Values:
(For the list of values, I have put the SQL:
"SELECT DISTINCT A.FIELD1 from
MYDATABASE.MYTABLE A", Also I had
tried with list of fixed values like A, B, C)
Web Setting
Additional Attributes (HTML):
================
But the report does NOT work when called from the Web.
(This is only because of the problem with this Parameter
Form in my report. If I get rid of the parameter form by
changing the last line of my SQL to: "A.FIELD1 = 'Chicago'",
it works fine from the Web).
When accessed the report from the Web, the error I get
is:
Oracle Reports Server CGI - Report Job has terminated with this error.
Reports Server Replies:
REP-0788: Warning: The value of restricted LOV parameter P_1 is not among the selectable values.
I do not know what is the error with this simplest Parameter Form based Report!!
In the Property Palette (above) of the Field, there was a field named "Additional Attributes (HTML)"
under "Web Setting" heading.
Do I need to write something there!!
Please help!!
thanks.
kimmyHi, Kimmy
Try: ¶mform=yes]http://webserver.com:80/dev60cgi/rwcgi60.exe?server=repserver&report=rep1&userid=scott/tiger@orcl&destype=cache&desformat=htmlcss¶mform=yes
I've also sent you an email about key maps.
Enjoy! Web Reporting is a great feature.
Pedro. -
Difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i
Hi Aii,
What is the difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i.
Thanks in Advance,
BaluHi Balu.,
As per my findings the After Parameter is fired after the Parameters are given to the report and Before Report fires when the queries are parsed and data is fetched.
Regards.,
Vijay G -
Need help to calling a form from a report
I would like to call a form from the report preview, that is
there will be button on that report preview and when click on
that button then another form will start running. Another problem
is, without clicking on that button report will not allow to
exit. How ?
nullDW Brown wrote:
It becomes a link from the column format section..
DOWNLOAD:<tablename>:<column>:ID::MIMETYPE:FILENAME:LAST_UPDATE_DATE::inline:Click Here
So far I haven't found a way to use something link "target=_blank"One way would be to use a Dynamic Action to apply the <tt>target="_blank"</tt> attribute to each link, or convert them to use APEX pop-ups or a jQuery lightbox like fancyBox.
Create an example on apex.oracle.com if you need more assistance. -
Browser Time out in Reports (using WEB.SHOW_DOCUMENT to call reports)
When running a big report which takes a long time to run, it finishes on the report server but in the browser the screen is stuck at the parameter form, you don't see the report output. It's as if the browser has timedout. Is there a solution to this?
I am running reports using WEB.SHOW_DOCUMENT only - through a URL. This seems to be a huge drawback of using this method.Is the browser launching?
If it is have you tried a show source on the browser window?
Sometimes if you open an XML file in a browser you get a blank page but the XML is there. Something to do with the XML format I think. I'm no expert on XML just a behaviour I have observed. -
How the show parameter form for the report over the web by using an url ?
hello,
my url to call my report is :
http://server/reports/rwservlet?report=rtm0350.rep&desformat=html&userid=un/pw@hostring&server=rep_server¶mform=yes
but it doesn't show me the parameter form to introduce the parameters and I get :
'FINISH SUCCESSFULLY'
has anybnody any idea ?
thank'sIf this is a 'paper' report then =yes has always worked for me as long you have parameters declared in the report.
Description Use PARAMFORM to specify whether to display the Runtime Parameter
Form when you execute a report through CGI or a servlet. PARAMFORM is used only to
supply parameters to paper layout reports, not JSP-based Web reports.
Syntax PARAMFORM=YES|NO|HTML
Values
■ YES Display the Parameter Form.
■ NO Do not display the Parameter Form.
■ HTML Display the Parameter Form in HTML format.
Message was edited by:
Bob C -
Problem with web.show_document in calling report
Hi ,
I have started the reports server... Programs->run->"C:\oracle\product\DevSuite10g\BIN\rwserver.exe server".
The system started a report server called "f".
Pressing a button:
declare
begin
URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&report=texnikos_user\mod3_hmerolog_kinisis_.RDF'||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var||'¶mform='||param_form_var;
WEB.SHOW_DOCUMENT(URL_VAR,'_parent');
end;The system displays the error:
REP-52266: failed starting the Reports Server f.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0.
As action Oracle points out about it:
Please make sure the server is not already started as a stand alone server.
But there is not.... The server f has started successfully....
Do you have any idea why is that...???
NOTE: I use Oracle Dev10g. I also noticed that in the window which shows the status of the report server... in the last line as "active threads"(i don't know if i translated into english right ... the status is displayed in greek) that there are 2. Is this problem...???
Thanks, alot
Simon
Message was edited by:
sgalaxyEventually , the report run... when the active thread got the value 1. How is it done...(i mean the value of 1 , instead of 2 when the report started...????) How to secure that the active thread would be 1 if this is the problem...????
However , because the report is 2 page accross.... the report displays the first page and down the other page.... Is it possible to display both pages accross as i see them in report builder env....?????
Thanks , a lot
Simon -
After Parameter Form issue - Oracle Reports 10g
Hi All,
I have compiled an .rdf report to an .rep file and when
I run this file I get the "REP-1247: Report contains uncompiled PL/SQL" message.
The issue is I have built the report with dynamic XML customizations in the after parameter form trigger. When I remove this piece of code from the trigger both files .rdf and .rep works fine.
Notice that the .rdf file works fine with the after parameter form XML customization.
Please, can enyone advice me how can I have a .rep file that contains dynamic XML customization (using the srw.add_definition).
Thank you in advance.In Your code there is a line:
add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
which actually disables the report parameter form.
The line:
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
'?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
bedman/bedman@bedman'||'¶mform=yes','_blank');
displays the report to which vjob_id refers. At this point the report is competed so the parameters userid and paramform are useless.
Hope this helps.
Regards
Bekcic Aleksandar -
Parameter form problems w/reports server
I'm in the process of trying to make some reports from a forms-
based application available on an intranet via reports server.
If I call the reports without a parameter form (just take the
default parameter values) they work fine, but as soon as I put
in a 'Paramform=YES' I start running into problems.
The entries in cgicmd.dat are in this form:
reptname: server=servername report=reptname.rdf
userid=user/pw@db_name destype=cache desformat=PDF paramform=YES
When I submit the parameter form, no matter what set of values,
I get this error:
Oracle Reports Server CGI - Key "" is unrecognized. Possible
causes: bad URL syntax; key in URL was not found in the key map
file.
Also, on some forms that should have drop-down list boxes, it's
instead displaying a blank text field followed by a long string
of values as plain text below it.hello,
sounds like an issue we had in the early versions of 6i. i would suggest you upgrade to the latest patch.
regards,
the oracle reports team --pw -
Returning to the parameter form in a report after closing the report page
hi all,
tell me a way to get the following solution
how can we return back to the parameter form of a "parameterised
report" after closing to the report window.
i ve tried a little bit with "srw_run_report"
reply me as quick as possible
prabhakaranTry using menu options
Tools\Parameter Form Builder
you can either select/deselect any parameter from the list -
Call a form by using Report Builder in 6i
Dear All;
How can I call the form from report builder in 6i Report and form??
For example:
in report show customer total price: 2000
when I will click on this entry it will show me the breakup of this amount in form???
how can I do this plz help me.Hi Zahid
For breakup why dont u call another report for this.You can use SRW.RUN_REPORT bulitin for this.
Regards
--Ajay Sharma -
I have a form that opens a tabular report in pdf output. What i'd like to do is to be able to click on one line (record) of the report and go back to the same record in the form for updates.
I know i can write code in the report that would link up to the form. What i don't know how to do is to tell the report that the calling form, hence the applet, is already open and that it should not reload the applet.
I'm working on Forms and Reports 6i over the web
Kind Regards, NicolaI have a form that opens a tabular report in pdf output. What i'd like to do is to be able to click on one line (record) of the report and go back to the same record in the form for updates.
I know i can write code in the report that would link up to the form. What i don't know how to do is to tell the report that the calling form, hence the applet, is already open and that it should not reload the applet.
I'm working on Forms and Reports 6i over the web
Kind Regards, Nicola -
Parameter form for a report portlet
Hi,
What's the best/easiest method of creating a form that a user can enter parameter values which are then used to restrict query in a report portlet?
Is there any way of doing this via the wizards / without coding? The a report portlet generated via the wizard only seems to let a user be able to specify parameter values by them first clicking the "Customize" link on the portlet.
The form portlet wizard does not seem geared to generating a form that is simply used to enter parameters...
Help!Hi,
You cannot right now make the customization form a portlet. You can use the form to accept parameters and call the report in the success procedure by passing the columns of the form. There are lots of question answered in the forum on passing form field values to a report. That could help.
Thanks,
Sharmila -
how to call a form from WEB.SHOW_DOCUMENT
I would like to call a form using the WEB.SHOW_DOCUMENT the idea is from the menu that is attached to the form instead of use call_form use WEB.SHOW_DOCUMENT(...my_newform.fmx)
Is this possible?????Hi ,
I think yes...but under some circumstances....
In your formsweb.cfg file you should define a named configuration alias... such as:
[TEST]
workingDirectory=C:\TEST_DIR
form=C:\TEST_DIR\MY_NEWFORM.FMX
Then , after stopping , starting your OC4J instance..... you call that as (in a button , for example):
web.show_document('http:<your_server>:<port>/forms/frmservlet?config=[TEST]',_blank);
I have not tested it.....
Regards,
Simon
Maybe you are looking for
-
Error while updating the content in workflow
Hi, I'm getting an error while updating the content in workflow thru the checkout option. i.e. contributor checks in the content - reviewer rejects the content - then contributor checks out and modifies the content as per the reviewer's remarks and w
-
I have updated to Keynote 6.1, my App Store says I did it 2/1/14, I just created a new slideshow in 6.1 tonight, saved it all the way through while creating it, and when finished, saved it one more time, and closed the file. I treid to open it again,
-
Macro for automatically sending E-mail from a folder
I have a folder containing purchase orders (in pdf format) for many companies (say 500 companies), which I should send them manually to all the companies twice a month. (by insert the Purchase order and selecting the E-mail address and send separatel
-
TS4457 Iphone 4s ios 7.1 facetime and calling problemd
I have the iphone 4s w/ ios 7.1. After a week I got it whenever I called someone they couldnt hear me but i could hear them. Siri works fine so its not the mic, voice memos also works too. And also on facetime I recieve calls but when I press ok its
-
I accidentally erased everything on my iphone, how do i get it all back?
This is my mom's iphone and it was my first time syncing to my computer to give her my music, which then deleted everything from her messages to her contacts. I then restored it and it was back to how it first came without anything on it. Any idea ho