How pass parameter from Form to Graphics through Report?
I wrote a Report called by a Form and pass a parameter from the
Form to the Report, successfully! But I imported a Graphic in
the Report, and the Graphic could not get the parameter...(the
parameter in the Report and Graphic should both pass from the
Form).
I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
and I imported the image from file for the Graphic in the Report.
Thanks for your help!
null
Meilan (guest) wrote:
: I wrote a Report called by a Form and pass a parameter from the
: Form to the Report, successfully! But I imported a Graphic in
: the Report, and the Graphic could not get the parameter...(the
: parameter in the Report and Graphic should both pass from the
: Form).
: I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
: SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
: and I imported the image from file for the Graphic in the
Report.
: Thanks for your help!
Meilan,
This forum is for Headstart related questions and experiences
only. Please go to metalink.oracle.com to get more information on
your problem.
Regards,
Ton
null
Similar Messages
-
Master-detail relationship - passing parameter from form to form
Hello.
I have a question about master detail relationship.
In first form we have master-detail relationship.
Example on dept, emp tables:
We query dept (master), so we can get one or many emp (detail) records. Then we have a third table - tasks. Tasks table (detail) can have many records for one employee.
Tasks table is in another form, which is called with call_form built_in. So we pass a parameter from master to detail - parameter empno. Because of that, we can only see tasks for one employee and can't navigate to another employee. This is normal.
Now comes the question.
Is it possible to call a form (with tasks table) with deptno parameter (so we can navigate through all employees with that department), but first show employee that was last used in first form?
Example of our goal.
Master: deptno = 20
Detail: navigate to JONES employee
Call new form (tasks)
Tasks for JONES employee are first shown
Can navigate to another employee - without requery
Is this possible?
If we pass deptno parameter, we can navigate through all employees - but must navigate to the employee we last used in first form.
If we pass empno parameter to second form, we see last used employee but cannot navigate to another employee without requery.
Hope you understand my problem.
Thanks.Hi
yes you can pass parameter from one form to another.
In your master detail form set the trigger when-new-instance and there define the global variable like
:GLOBAL.G_CIRCLE_ID := NULL;
and in your task table set the trigger when-new-instance and there define the global variable like and also write this code
:GLOBAL.G_DIVISION_ID := NULL;
IF :GLOBAL.G_CIRCLE_ID IS NOT NULL THEN
GO_BLOCK('DIVISION');
SET_BLOCK_PROPERTY('DIVISION',DEFAULT_WHERE,'CIRCLE_ID ='||''''||:GLOBAL.G_CIRCLE_ID||'''');
EXECUTE_QUERY;
END IF;
:GLOBAL.G_CIRCLE_ID := NULL;
now you maintain your trigger according your need.
Regards, -
Error While Passing Parameter from Form to Report
I am using Dev 9ids. And i am compiling every forms from form 5 to form 9i. and report too.
Most of reports are running.
in some i am getting problem where i do pass more than 5,6 parameters.
for e.g in one case say
set_report_object_property(rep_id,REPORT_OTHER,'comp_code='||:global.vc_comp_code||' inv='||inv||' invoice_no='||inv_no||' invoice_date='||inv_dt||' vc_name='||cust_name||' Paramform=no');
this will not run and give error FRM-41214
when i exclude vc_name or shorten the value of cust_name report run fine.
length of cust_name and in report vc_name is proper.
I also need to pass more parameters to report.
I do think there might be parameter size in any of report system files to be increased.
Pls help me out how to rectify this problem.
thanks in advance.
rajYou are not getting the result in the report because you have chosen the button event as Query.
Edit the form, for the Execute button, choose the button event Custom and use the same pl/sql code that you have used before.
If the event is Query, then the session object does not have value of A_EMPNO at the point where you have written your code. The session object is populated after the Query event has taken place. -
UPDATE: Pass Parameter from Form to Form While on Seperate Pages
I'm running 9iASR2 on Linux
My issues is that In need to Take a Parameter entered on Form1 one a page then upon click of insert I need to pass a parameter entered into that form and naviagate to another page containing 2 portlets 1 being another form and 1 being a dynamic page both of the portlets on the second page need to beable to access the parameter.
Since my last post I updated the PL/SQL code to better fit the situation and now have a different problem.
Ok.. So I'm still attempting to do the same thing a about. Here what I tried and the outcome.
1. I put following code in the succeful submission pl/sql procedure of the first form(the calling form).
What a suspected the follow code to do was navigate to the page containing my other from in a portlet. Which it did. Cool!
declare
url varchar2(220);
v_FLOWNAME varchar2(220);
begin
v_FLOWNAME := p_session.get_value_as_VARCHAR2(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_FLOWNAME');
url:='http://ebalpha3.us.oracle.com:7778/portal/page?_pageid=36,31629&_dad=flowmanager&_schema=PORTALSCHEMA&a.FLOWNAME='||v_FLOWNAME;
call(url);
end;
2. It passed the follow URL http://ebalpha3.us.oracle.com:7778/portal/page?_pageid=36,31629&_dad=flowmanager&_schema=PORTALSCHEMA&a.FLOWNAME=MyFLow
3. In the accepting form I input the following code in the before displaying the page section of the the form.
declare
FLOWNAME varchar2(200);
begin
FLOWNAME := portalschema.wwpro_api_parameters.get_value('FLOWNAME','a');
p_session.set_value(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_FLOWNAME',
p_value => FLOWNAME);
end;
What I expected it to do is take the a.FLOWNAME from the url and input it into the FLOWNAME variable, but the FLOWNAME variable came across as blank and the FLOWNAME text area came accross as blank because the FLOWNAME parameter was never pulled.
What do you think?
Thanks for you help!I have a similar problem where I have a portlet X which accepts parameters using the <passAllUrlParams>true</passAllUrlParams> tag in the provider.xml and it works if portlet X is directly on page A. However, because I need to wrap portal security around this portlet declaratively, I will need to apply security on this page A and then publish page A as a page portlet Z, then drop page portlet Z on another page, page B. (I hope you all been through this before to apply security around a portlet). By doing this - the parameters are no longer being passed into portlet X anymore.
To get around this - I will need to define page parameters for page A and map them to portlet X via the "Parameters" tab in edit mode and then define the same set of page parameters on page B and map them to the page portlet Z just to get the parameter passing working and flowing through to portlet X.
Is there anyway around this?
Do we always need to define page portlets in 10.1.4?
What does the <passAllUrlParams>true</passAllUrlParams> tag do in 10.1.4?
In 10.1.2 - the <passAllUrlParams>true</passAllUrlParams> tag was all you need to pass any number and type of parameters from a page B->page-portlet Z->portlet X
This feature seems to be missing in 10.1.4.
Please respond.
Thanks
Stanley -
Passing parameter from forms 9i to reports
Hi,
I have a parameter form running on forms 9i. i am running my forms through a web browser. When i pass a character parameter containing blank spaces in between, my report does not run, but it works fine when i pass a parameter without any spaces...
my application is thin client based..
Any solution for this problem?
ThnksHi Frank,
Thanks for replying, How do i do this? here is the piece of code
run_report('DGAR004''p_signatory',:signatory,
'p_gua_title', :title
I will have to pass :signatory within quotes ? how do i do this? -
Pass Parameter from Form to Form While on Seperate Pages
I'm running 9iASR2 on Linux
I know there are allot of postings on Passing parameters and I'd hate to bring it up again, but I've been attempting this for a few days now and can't seem to figure it out.
My issues is that In need to Take a Parameter entered on Form1 one a page then upon click of insert I need to pass a parameter entered into that form and naviagate to another page containing 2 portlets 1 being another form and 1 being a dynamic page both of the portlets on the second page need to beable to access the parameter.
I am abable to pass the parameter between the forms when not running in a portlet with the code below.
declare
url varchar2(220);
v_FLOWNAME varchar2(220);
begin
v_FLOWNAME := p_session.get_value_as_VARCHAR2(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_FLOWNAME');
url:='portalschema.wwa_app_module.link?' ||
'p_arg_names=_moduleid&p_arg_values=1082756362' ||
'&p_arg_names=_show_header&p_arg_values=NO' ||
'&p_arg_names=FLOWNAME&p_arg_values=' || v_FLOWNAME;
call(url);
end;
Thanks for You Assistance!FRM 41213 : unable to connect to the report server repsrv+
Look at this ....
Did u created the report server from the command prompt
If yes
Did u started the report server
if not
use this from the command prompt
rwserver server = yourservername start -
Passing parameter from Form to URL
Hi,
I have a form with one field with LOV (combobox). When user chooses a value it should open the same page but with one parameter added. I tried out this:
OnChange JavaScript:
window.open('http://lesoprojekt.sk:7779/portal/page?_pageid=33,31392,33_31648&_dad=portal&_schema=PORTAL&dep='||depno)
where depno is a form field and I need to pass its value.
But the URL result is only http://lesoprojekt.sk:7779/portal/page?_pageid=33,31392,33_31648&_dad=portal&_schema=PORTAL&dep=
I need it as a page parameter because it is being passed to OmniPortlet.
Any help?
thanks,
BranoYes, but your form which is getting invoked with this call needs to have this parameter (in object navigator).
If the name of your parameter is e.g. OWNPNAME you will have to add an parameter object in the form named OWNPNAME.
In addition, in the config section of your application in formsweb.cfg you will have to add :
otherparams=OWNPNAME=%OWNPNAME%
Then, you cann embed OWNPNAME within the url call
...&OWNPNAME=xyz -
Passing parameter from selection screen to corresponding report program.
Hi all,
I am developing a report in which there is a selection screen containing 2 list boxes having month 'from' and 'to' ;ie the month range for which the report is to be run and a parameter for year.below it i have 2 radio button options which will lead to the report that the user clicks on.
I have done the following in the code.
selection-screen begin of block b1 with frame title text-001.
parameters: month1(10) as listbox visible length 10 obligatory.
parameters: month2(10) as listbox visible length 10.
parameters: year(4) obligatory.
selection-screen : end of block b1.
selection-screen: begin of block b2 with frame title text-002.
parameters: rb1 radiobutton group g1,
rb2 radiobutton group g1.
selection-screen : end of block b2.
if rb1 = 'X'.
submit ZMIS1.
ENDIF.
if rb2 = 'X'.
submit ZMIS2.
endif.
Now i want the values selected in the listbox and the year to be passed in the report that will be selected in the radiobutton (ie ZMIS1 or ZMIS2) so that the corresponding report output will be displayed directly with the inputs given in the selection screen .
Please tell me how to do this.Thanks in advance.You also have to pass Selection-screen data for called program the way it has been shown down.
REPORT ZVENKAT_ALV_LIST.
DATA:
IT_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS,
WA_RSPARAMS LIKE LINE OF IT_RSPARAMS.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: MONTH1(10) AS LISTBOX VISIBLE LENGTH 10 OBLIGATORY.
PARAMETERS: MONTH2(10) AS LISTBOX VISIBLE LENGTH 10.
PARAMETERS: YEAR(4) OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK B1.
SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
PARAMETERS: RB1 RADIOBUTTON GROUP G1 USER-COMMAND UC1,
RB2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN : END OF BLOCK B2.
IF RB1 = 'X'.
WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
WA_RSPARAMS-KIND = 'P'. "S=Select-options P=Parameters
WA_RSPARAMS-SIGN = 'I'.
WA_RSPARAMS-OPTION = 'EQ'.
WA_RSPARAMS-LOW = '11010'.
WA_RSPARAMS-HIGH = SPACE.
SUBMIT ZMIS1 WITH SELECTION-TABLE RSPARAMS AND RETURN.
ENDIF.
IF RB2 = 'X'.
WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
WA_RSPARAMS-KIND = 'P'. "S=Select-options P=Parameters
WA_RSPARAMS-SIGN = 'I'.
WA_RSPARAMS-OPTION = 'EQ'.
WA_RSPARAMS-LOW = '11010'.
WA_RSPARAMS-HIGH = SPACE.
SUBMIT ZMIS2 WITH SELECTION-TABLE RSPARAMS AND RETURN.
ENDIF.
Thanks
Venkat.O -
Hw to pass parameter from report to forms
Dear Friends,
I m working on Forms n Reports 6i,
I m running report n passing parameter from the forms now the requirement is that if report run successfully it shuld give the msg otherwise give an user define error msg.
Hw do i pass any parameter from report to form for acknowledgment.
Thanking yours
ChandanHi Rajat,
using run_product built in i can pass parameter from forms to reports but hw can i get some parameter value from reports to forms as mentioned earlier my post
Thanking Yours,
Chandan -
How can I pass parameter from report to form?
Hi :)
Now I try to build conference room like this by using form
and report. And i design that when users click at group report
then i'll show page that contain questions report and add
question form. And question form and report must receive the
same parameter from group report.
First Problem: is I don't know how group report send the
same parameter to question report and add question report at the
same time. And is it possible??? If not please suggest me what
should I do???
Second Problem: is I don't know how can I pass parameter from
report to form. I don't know the way to do it.
Please tell me!!! Please...
I look forward to hearing from all of you.
Thank You.One way is to create a link based on that form and attach that
link with the report. Through links you can pass parameters -
How to pass record Group from Forms with DATA_PARAMETER to Reports Server
How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
Thanks,
ArifHi Mandeep,
Could you please tell me how can i pass data parameter from forms to report through run_product. -
How to Pass Parameter from BIP to Dashboard Report
Hi,
Parameter from BIP to Dashboard Report
If I select BIP report paremeter should pass value to dashboard report
thanks in advance.
CHEERS ,
JelHi Saichand,
I hav gone through above link its passing values from Dashboard prompt to BIP report only..
just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
Thanks in advance
Cheers,
Jel -
Passing Parameter from URL to Web Forms - Oracle 10 Application Server
Hi All -
I want to pass parameter from a URL to 10g Oracle Web Forms - Oracle Application Server 10.1.2
http://server1/forms/frmservlet?config=SATWEB_SSO&otherparams=username_sso=BABUS
How to receive this 'username_sso' value inside my forms application ?
Created a Parameter in the same name as URL parameter 'username_sso' in forms but didn't receive the value. I want to know how to receive the value of this parameter within forms from URL.
Thanks - SureshTry this,
1. Create a parameter in the formsweb.cfg (say username_sso) under default section ( or you can create it in your own config section)
2. Add the username_sso in otherparams parameter as username_sso=%username_sso%
3. Add this username_sso parameter in your form.
4. Run the form as
http://<machine>:<port>.....?form=blahblah....&otherparams=username_sso=scott
Regards,
Arun -
Passing date parameter from forms to report
Hi,
I'm using forms and reports 6i.
I want to pass one date parameter from forms to reports.
Using
Add_Parameter(pl_id,'P_FROM_DATE',TEXT_PARAMETER,:FROM_DT);
giving me error REP-0091- Invalid value for parameter 'P_FROM_DATE'
This i think is because report expects date and here it is converted as varchar.
Please helpHi Divya,
Even I use this kind of statement
Add_Parameter(pl_id,'P_FROM_DATE',TEXT_PARAMETER,:FROM_DT);and works fine for me.
This i think is because report expects date and here it is converted as varchar
Correct.
Open the report in the builder and under Data Model -> User Parameters, Go to the Property Inspector of P_FROM_DATE. Under Parameter, set Datatype as Character instead of Date.
Hope this should work. and tell me if it works(coz it wokred for me). -
How to pass parameter from form6i to report6i
when i passed parameter from form6i to report6i, while previewing report the data was not displaying only fields heading was displaying, but in report6i there is a parameter form thru that it was displaying data, but thru form6i to report6i it was not. Please kindly help me and give me the some sample or example of it.
Thanks
Best regards
ZaheerADD_PARAMETER(pl_id,'P_SCRIPT',TEXT_PARAMETER,:b1.script);
Maybe you are looking for
-
Smartview 11.1.1.3.01 download link
We are on using smartview 11.1.1.3.00 (build 190). It does not work with Windows 7 64bit and office 2010 combination. Service fix 11.1.1.3.01 suppose to fix that. However I do not need to patch the whole system now. I just want to have the individual
-
I am unable to see bcc addresses in sent message
bcc addresses do not show in Mail sent messages. Recommended solutions from other posts have not solved the issue.
-
How to close Bridge in order to install PS CS6
When I try to install Adobe Photoshop CS6 on my new computer, I get the message to first close Bridge. How does one do this?
-
When a LabView program starts up, I want it to go to a directory and choose the latest file there. Is there a way to sort the files to get the latest?
-
Importing from XML to Excel - need to know how to append to existing Excel file
Hello, I have several XML files that I will need to import into one Excel spreadsheet. I have been able to figure out how to import an XML file to an Excel file but when I import a second XML file, the contents of the second XML overwrite the Excel s