Runtime parameter form
i also had the same problem, but when i changed the %p , my parameter form still did not appear.
Using reports 9i.
Thanks
Thank You, that solved the problem.
You can either use paramform=yes on the url, or in cgicmd.dat file, append %P on to the command line.
Thanks,
-Shaun
Similar Messages
-
How to hide the window of Runtime Parameter Form?
I have a form and I call a report from this form.I have passed some parameters to this report.Before the browser of reports appear the window of Runtime Parameter Form.I want to hide this window of Runtime Parameter Form but I don't know how.
Please help me!When calling the report, set the property PARAMFORM to NO. IF you using parameter list to pass values to report you can do as follows:
ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO'); -
Reports-Runtime Parameter Form
hi!
I made a report which contains quite a lot of data; so I
also created a user parameter for the runtime parameter form, so
the user can select one value so that the amount of data is
minimized; the user parameter is based on a select statement;
now my question: the way it is now the user can only make one
selection, how can he see all records and is not forced to select
a single value?
thx, michaela
nullMichaela (guest) wrote:
: hi!
: I made a report which contains quite a lot of data; so I
: also created a user parameter for the runtime parameter form,
so
: the user can select one value so that the amount of data is
: minimized; the user parameter is based on a select statement;
: now my question: the way it is now the user can only make one
: selection, how can he see all records and is not forced to
select
: a single value?
: thx, michaela
Hi Michaela,
I Understood that you have created user parameter based on
select statement which will display list of values in List item
in the Runtime Parameter form. User can select any one value
from the list & display the records for selected value in the
parameter form. But your question looks like user should have
facility to select all the value in the list from the runtime
parameter form.
Example : Display list of deptno in the Runtime parameter form.
If user selects any one deptno, display employee
details for the selected deptno. Also user should
have option of selecting records for all the dept.
1. Create user parameter P_DEPTNO based on following select
statement.
Select deptno from dept
Union
Select 'ALL' from Dual
2. Create the Query for the report as
Select *
from Emp
Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
So user will have option of specifying condition to
select all the records for all the deptno as well as user
can specify particular deptno.
I hope this may help you to solve your problem. Pls let me
know whether this helps you or not.
Mani/-
null -
Reports-Runtime Parameter Form; another question
hi!
I would like to implement 2 user parameters in the runtime
parameter form which depend on each other: with the first one you
can select a special ressort and depending on the selection you
made here you can select some keyword groups with the second one;
but I don't know how the select statement for the second user
parameter should look like, because it is not allowed to use
'Bindevariablen' (sorry, don't know what they are called in
english; this are the ones with the : in front of them):
here is what I tried to do:
parameter: P_1
select rs_id, rs_name from tb_ressort union select 99999, 'alle
Ressorts' from dual order by 1
parameter: P_2
select kwg_id, kwg_group from tb_keyword_group union select
99999, 'ALL' from dual
and here I wanted to add a where clause: where rs_id = :P_1
but this doesn't work
Any other ideas?
thx in advance
nullMichaela (guest) wrote:
: hi!
: I would like to implement 2 user parameters in the runtime
: parameter form which depend on each other: with the first one
you
: can select a special ressort and depending on the selection you
: made here you can select some keyword groups with the second
one;
: but I don't know how the select statement for the second user
: parameter should look like, because it is not allowed to use
: 'Bindevariablen' (sorry, don't know what they are called in
: english; this are the ones with the : in front of them):
: here is what I tried to do:
: parameter: P_1
: select rs_id, rs_name from tb_ressort union select 99999, 'alle
: Ressorts' from dual order by 1
: parameter: P_2
: select kwg_id, kwg_group from tb_keyword_group union select
: 99999, 'ALL' from dual
: and here I wanted to add a where clause: where rs_id = :P_1
: but this doesn't work
: Any other ideas?
: thx in advance
Hi Michaela,
I think this will generally not work in reports parameter form;
the parameter values are available first when the report is
started, and the first point to reference them is in the
after-parameter-form trigger. I think you get the message
from the report builder 'REP-0781: Bind variables not allowed in
the Select statement'.
The only idea I have is to write a parameter form with Forms,
with two LOV's attached to two items wich CAN reference each
other. Then use add_parameter and run_product to start your
report. This seems to be more complicated then using only
Reports, but it isn't and it works.
peter
null -
Customizing Runtime Parameter Form
Hi
I'm using Portal Release2. Here is my problem I want the customize the Runtime Parameter Form but I can't seem to do it. A simple test case is needed:
1) I've created a report definition file access through portal and successfully run the report.
2) I've copied the run link which is something like -
PORTAL_DEMO.TEST_REPORT.show_tabpage
3) I've created a dynamic link such as -
http://abc.def.com:7778/pls/portal/PORTAL_DEMO.TEST_REPORT.show_tabpage
4) when a user clicks that link the page shown is a default Oracle Report Portlet parameter form even though I've changed the parameter form template.
could someone provide a solution to this issue. By the way I've been reading an old version of portal and you can do it in release1 but no reference is available in release2.
see section 5.14.1 Deploying a Report to an Oracle Portal Content Area
http://otn.oracle.com/docs/products/ias/doc_library/1021doc_otn/busint.102/a86784/pbr_sec.htm#1033196Hi George
After you register a RDF component, at the end of registration wizard, you need to go to Customize link and check out the fields you wish to display in Parameter form. After this, you need to click on Save Paramater button, which would save your changes.
Now you can put this RDf component to the content area /page and publish the link to this content area / page to users and they would be able to see your customize param form.
Thanks
the Oracle Reports team -
Invoking runtime parameter form from Oracle forms 10g.
Hi all,
I am using Oracle 10g DS.
I have cretaed a form containing a button. when i pressed that button
the rdf has to be called and runtime parameter form has to be invoked. In that i will give parameters. In that button the path is already is there.
so the problem is I am unable to invoke the runtime parameter form of Reports builder when i pressed the button.
can anybody helpout....
thanks in adv.
Venkat.copy the question to the report forum as well :
Reports -
Report 10g: Runtime Parameter Form
Is there any way in Reports 10g to trigger Parameter Validation just after
user enters a Parameter?
I would like to have dynamic LOV in Reports Parameter Form....
So contents of LOV list items in Report Parameter #3 would depend on the user selection from LOV in Report Parameter #1It is not as simple as just adding this parameter to the URL. You have to do some coding too.
The basic problem is that the paramform code contains a HTML FORM without any action. So, you have to create an action yourself.
See Metalink note 139546.1 on how to modify your reports (there should be a white paper on OTN too, but I can't find the link anymore).
Bottom line is: yes, it is much simpler to use Forms as your parameter form. -
Runtime parameter form to form
dear members
i want to create rumtime parameter form.
i have a fomr1 some textitem when i call forms2 some textitem value copy to my calling fome help.if any one have example then plz send me
[email protected]dear
there is a way by which I beleive possible to solve.
U can create some global varible in ur application, where u can store those required item. and in When-new-form-instance trigger u can put those value to the new forms field. I thing it will work.
then u can erase the global variables (for that syntax,u can take the help of developer's help)
FARHAD -
Parameters that do not show up on default parameter form
Reports upgraded to 6/6i from SQL*ReportWriter/Oracle Reports 2.5 contain parameters that both do and do not show up on the default parameter form.
Is there any property that can be set in the Object Navigator to disable or enable a parameter on the default parameter form. I know I can create a parameter form and specify which parameters are on it, but user created parameter forms look a bit different from the default parameter form in character mode.
nullYou can read "Selecting parameters to include in the Runtime Parameter Form" topic in the Reports on-line help.
I hope this will help you.
Helena -
Parameter Form-How to use a user parameter to retrieve list of values for another par
I am developing a report in Reports 6i. There are 2 parameters on parameter form namely year and month.
LOV for Year is retrieved from database. After user selects a value from LOV for year, I want to retrieve another LOV for month parameter based on selected year. That is how can we use a user parameter's value to dynamically retrieve an LOV for another parameter on the same parameter form.
Pl. guide.
Thanks in anticipation.You can't restrict the "List of Values" of one parameter based on the value of another parameter within the Reports Builder/Runtime parameter form.
The SQL select statements within LOV's are only executed once. They aren't re-calculated when you enter, leave or change other field values in the parameter form. This is mainly because there is no event model in the Reports parameter form and it only supports basic form functionality.
To do what you're after in a client-server environment you need to create an Oracle Forms "parameter form" and use that to execute the Report using the run_product() call. Actually, you should probably use Oracle Forms for any more generic "form" functionality such as radio buttons or check boxes.
If you're in a Web rather than Client-Server environment, it may be easier to create a JSP based parameter form. You can then use Reports 9i since it has JSP support to assist here. -
After Parameter Form trigger failed
REP-0771. I have the trigger returning to false on a condition, however, this is when I get the error. All I want to do is return to the parameter form, and it's giving me an error. Is there any way to suppress this error?
Hi Maggie
To validate a parameter value at runtime:
1. In the Object Navigator, expand the Data Model node, then the System Parameters or User Parameters node.
2. Double-click the PL/SQL icon for the parameter for which you want to add a PL/SQL validation trigger.
3. In the PL/SQL Editor, define the PL/SQL to be triggered at runtime
Validation triggers are used to validate the Initial Value property of the parameter. Depending on whether the function returns TRUE or FALSE, the user is returned to the Runtime Parameter Form.
Thanks
Rohit -
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 -
Hello,
Using rwservlet on the web I can specify paramform=yes and I'll get a parameter form for my reports, which is really handy as it saves me from having to build my own forms. However when I run JSPs directly I cannot seem to get the automated form. Am I missing something obvious or is the parameter form just not available when you run JSPs directly?
Cheerio,
RobertHi Robert,
The description of the command line keyword PARAMFORM in Publishing Reports manual says:
Use PARAMFORM to specify whether to display the Runtime Parameter Form when you execute a report via CGI or a servlet. PARAMFORM is used only to supply parameters to paper layout reports, not Web source reports.
For JSP reports you need to create an HTML parameter form which calls the JSP and submits the parameters selected.
You can find Reports documentation (incl Publishing Reports here):
http://www.oracle.com/technology/documentation/reports.html
Navneet. -
Runtime Action in Parameter Form
hello sir/madam
I am working in Report 6i .. I am creating a report in which,in the parameter form I am using a textfield for getting input from user..based on the input received from the user I want to display another textfield in the same parameter form at runtime ...
Tat is........
I created a parameter form with following text field
Do u want to have selective department information ('S'/'N') : ....................
so if 'S' is given as input then following should appear:
Enter Department Code : ................................
how to do this....plz help ......If you need a fast answer, then copy the question also to the reports-forum
Reports -
How to print a report which is consist a paper parameter form
Hi !
I have created a report file with paper parameter form and also create a form. Now , when I try to run this form it display
REP-0788: Warning: The value of restricted LOV parameter ppass is not among the selectable values.
USER ID (a combo box with data)
PASSWORD (a combo box with data)
After click on submit the query button window dispaly a message run successfuly,But it does not print the report's data, it prints only paper parameter contents.
i.e. REP-0788: Warning: The value of restricted LOV parameter ppass is not among the selectable values.
USER ID (a combo box with data)
PASSWORD (a combo box with data)
I used the following codes
PROCEDURE RUN_REPORT1(vc_reportoj Varchar2, vc_reportserver varchar2, vc_runformat varchar2,report_otherparam VARCHAR2, pvar varchar2) IS
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100); /* unique id for each Reportrequest */
vc_rep_status VARCHAR2(100); /* status of the Report job */
vjob_id VARCHAR2(100); /* job_id as number only string*/
vfilename varchar2(255);
vport varchar2(50);
hidden_action VARCHAR2(2000) :='';
v_report_other VARCHAR2(4000) :='';
i number (5);
c char;
c_old char;
c_new char;
BEGIN
/* Get a handle to the Report Object itself. */
v_report_id:= FIND_REPORT_OBJECT(vc_reportoj);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME,name_in(':parameter.path') ||'\'||NAME_IN('CTL_REPORTS.REPORT_NAME'));
if pvar = 'FILE' then
vfilename := CLIENT_GET_FILE_NAME('c:\',null, 'All Files (*.*)|*.*|',SAVE_FILE);
if vfilename IS NOT NULL THEN
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_EXECUTION_MODE, RUNTIME);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESNAME, vfilename||'.rtf');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,vc_reportserver);
hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME);
hidden_action := hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE);
hidden_action := hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY (v_report_id,REPORT_DESFORMAT);
hidden_action := hidden_action ||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);
c_old :='@';
FOR i IN 1..LENGTH(report_otherparam) LOOP
c_new:= substr(report_otherparam,i,1);
IF (c_new ='') THEN
c:='&';
ELSE
c:= c_new;
END IF;
-- eliminate multiple blanks
IF (c_old ='' and c_new ='') THEN
null;
ELSE
v_report_other := v_report_other||c;
END IF;
c_old := c_new;
end loop;
hidden_action := hidden_action ||'&'|| v_report_other;
hidden_action := 'http://127.0.0.1:8889/reports/rwservlet'||'?_hidden_server='||vc_reportserver|| encode(hidden_action);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'pfaction='||hidden_action||''||report_otherparam);
-- run Reports
vc_ReportServerJob:=RUN_REPORT_OBJECT(v_report_id);
vjob_id := substr(vc_ReportServerJob,length(vc_reportserver)+2,length(vc_ReportServerJob));
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
IF vc_rep_status='FINISHED' THEN
WEB.SHOW_DOCUMENT ('http://127.0.0.1:8889/reports/rwservlet/getjobid'||vjob_id||'?server='||vc_reportserver||'&_blank');
ELSE
message ('Report failed with error message '||vc_rep_status);
END IF;
ELSE
RETURN;
end if;
This is the part of the procedure.See Viewing Pages in Printer Friendly Mode and Selecting a Printer Friendly Template for an Application
Thanks,
Vikram
Maybe you are looking for
-
I have PhotoShop CS6 in my computer installed with a disc since a year. When I try to start it I get a message that i have to join the Creativ Cloud and pay 36.89 Euro per month. But I hav alredy payd the program and I want to know how to pass this m
-
I have renewed my CC subscription through school for another year. My account is showing that it all is well and in order- but I am having trouble connecting to the taskbar- the Apps page is just a spinning circle and has been since last night. My pr
-
can i connect my camera to my macbook while recording to use as a display? if so what cords do i need ?
-
Hello all, I am setting up a complex organization structure in R12 environment which looks like this: A business group consists of multiple legal entiies and Each legal entity has multple operating units. I have to setup in such a way that the users
-
How Do I Repeat A Formula Over and Over?
New to Numbers. Have a document with 90 rows. I have had to enter in the same formula over and over on every other row, except that I have to change the row #. i.e. The formula I use is: =SUM(C2:H2). Then the next line is: =SUM(C4:H4) I am up to row