How to pass more than one parameter using common...
Hi,
I am using ODP.NET with my 2005 VB
I want to create function from where I can pass more than one parameter to execute SP, or query just like i created for SQL SERVER as below
Public shared Function CreateParameter(ByVal paramname As String, ByVal paramvalue As Object) As DbParameter
Dim param As DbParameter
param = New SqlParameter
param.ParameterName = paramname
param.Value = paramvalue
Return param
End Function
Public Shared Function ExecuteQuery(ByVal sql As String, ByVal commtype As CommandType, ByVal ParamArray parameter As DbParameter())
Dim cmd As DbCommand = New SqlCommand()
cmd.Connection = OpenConnection()
cmd.CommandType = commtype
cmd.CommandText = sql
cmd.Parameters.AddRange(parameter)
Dim RetVal As Integer = cmd.ExecuteNonQuery()
Return RetVal
End Function
specially part is in bold to be converted
I tried like but oracleCommand.parameters doesnt support AddRange
please help me out
Regards
Hello,
I used the following way:
pCommand.CommandText = "Update " + sDataTable + " set "
+ sColumnName + " = :1 ";
pCommand.Parameters.Add("ValueToDb",
this.DefaultDbType,
this.m_Value,
System.Data.ParameterDirection.Input);
Of course, you can add :2,... to your command text, too.
The way back is:
sEndOfTheClause += " RETURNING " + sDataTable + "." + sColName + " INTO :iNewValue";
pCommand.CommandText = ... + sEndOfTheClause;
pCommand.Parameters.Add("iNewValue", this.DefaultDbType,
ParameterDirection.Output);
bool bReturn = (pCommand.ExecuteNonQuery() != 0);
if ((bReturn == true) && (pCommand.Parameters.Count > 0))
this.Value = DataService.Convert<DATA_TYPE>(pCommand.Parameters[0].Value);
....
Similar Messages
-
How to pass more than one parameter
Hello,
This is my code.
How to pass more than one parameter:
SELECT:responsibility_name responsibility_name,
LPAD(' ', 6*(LEVEL-1))
|| menu_entry.entry_sequence sequence ,
LPAD(' ', 6*(LEVEL-1))
|| menu.user_menu_name SubMenu_Description ,
LPAD(' ', 6*(LEVEL-1))
|| func.user_function_name Function_Description ,
LPAD(' ', 6*(LEVEL-1))
|| menu_entry.prompt prompt
,menu.menu_id ,
func.function_id
--menu_entry.grant_flag Grant_Flag ,
--DECODE( menu_entry.sub_menu_id , NULL, 'FUNCTION' , DECODE( menu_entry.function_id , NULL, 'SUBMENU' , 'BOTH') ) Type
FROM fnd_menu_entries_vl menu_entry ,
fnd_menus_tl menu ,
fnd_form_functions_tl func
WHERE menu_entry.sub_menu_id = menu.menu_id(+)
AND menu_entry.function_id = func.function_id(+)
AND MENU.LANGUAGE(+) = 'US'
AND FUNC.LANGUAGE(+) = 'US'
--AND func.user_function_name LIKE '%Primary Care Providers%'
AND grant_flag = 'Y'
START WITH menu_entry.menu_id =
(SELECT menu2.menu_id
FROM fnd_menus_tl menu2,apps.fnd_responsibility_vl resp
WHERE menu2.menu_id=resp.menu_id
and resp.responsibility_name= :responsibility_name
--and menu2.user_menu_name = ('ATCO HR INQ USER'
AND LANGUAGE = 'US'
CONNECT BY MENU_ENTRY.MENU_ID = PRIOR MENU_ENTRY.SUB_MENU_ID
and menu_entry.function_id not in (select func.function_id
from --fnd_form_functions_vl fnc,
apps.fnd_resp_functions exc,
apps.fnd_responsibility_vl res
where func.function_id = exc.action_id
and res.responsibility_name =:responsibility_name
and res.responsibility_id=exc.responsibility_id)
and menu_entry.sub_menu_id not in (select menu.menu_id
from --fnd_menus_vl imn,
apps.fnd_resp_functions exc,
apps.fnd_responsibility_vl res
where menu.menu_id = exc.action_id
and res.responsibility_name =:responsibility_name
and res.responsibility_id=exc.responsibility_id)
ORDER SIBLINGS BY menu_entry.entry_sequence;
Thank you for your help
ShuishenmingHi, Ming,
One way is to put the "parameters" in a table, and join to that table in your query. If you make it a Global Temporary Table, then multiple sessions can run the query at the same time, and each can be seeing different responsibilities.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data. Since this problem involves parameters, you should give a couple of different sets of parameters, and the results you want from the same sample data for each set.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
How to pass more than one value for one column in procedure
hi
select id, name from col_tab where dept_name in ('ECE','CIVIL');
when i was running this it is working well.
CREATE OR REPLACE PACKAGE pack_str
AS
TYPE type_refcur IS REF CURSOR;
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
END pack_str;
CREATE OR REPLACE PACKAGE BODY pack_str
AS
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
IS
BEGIN
OPEN ans FOR
select id,name from col_tab where dept_name in char_in ;
END str;
END pack_str;
the package was created.
my doubt is
1.how to pass more than one value for char_in (e.g ('ECE','CIVIL'))
2. when i was storing the value in string like val = 'ECE,CIVIL' ,
how to get the id,name for ECE and CIVIL.
plz help meHi Rebekh ,
I am recreating your packages for the desired output.
CREATE OR REPLACE PACKAGE pack_str
AS
TYPE type_refcur IS REF CURSOR;
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
END pack_str;
CREATE OR REPLACE PACKAGE BODY pack_str
AS
PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
IS
lv_t varchar2(200);
BEGIN
lv_t := REPLACE(char_in,',',''',''');
lv_t := 'select id,name from col_tab where dept_name in (''' || lv_t || ''')' ;
OPEN ans FOR lv_t;
END str;
END pack_str;
Note:-
Input Parameter char_in is a comma seperated value for dept_name
-Debamalya -
Can a url referencing an Application Process pass more than one parameter?
Hello,
I have a page in an application that uses pl/sql to generate a list of links.
The purpose of each link is to call another pl/sql procedure which in turn opens/runs a report external to the APEX application (either a call to Oralce Application Server generate live or pull clob stored in database). If the URL calls the pl/sql procedure directly I lose session state and no longer know who the user is. To maintain session state the URL references an APPLICATION_PROCESS. I would like to pass a number of parameters, but can only seem to pass one, using javascript to pass the value to a hidden item which is then accessed in the procedure called by the APPLICATION_PROCESS.
Can I pass more than one parameter?
My URL:
https://<server>/pls/apex/f?p=V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS=MY_PROCESS:NO::P1NAME:P1VALUE
I could pass all the parameters in P1VALUE and using a special character delimiter break it up again in the javascript, but would prefer not to.
Thanks for any help,
JockDid you mean something like this?
https://<server>/pls/apex/f?p=V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS=MY_PROCESS:NO::P1NAME,P2NAME,P3NAME:P1VALUE,P2VALUE,P3VALUE
Best Regards, Kostya Proskudin -
Pass more than one parameter to ITS link
Hi all,
I have a requirement where I have a report and a tx code assigned to it. Now, I have to open this tx code through ITS, where I have to pass 6 parameters.
When I am trying to pass more than one parameter to the url, it does not work. It only takes the first parameter.
How do I resolve this?
Plzz help!!
Thanks,
DebolinaHi all,
I have a requirement where I have a report and a tx code assigned to it. Now, I have to open this tx code through ITS, where I have to pass 6 parameters.
When I am trying to pass more than one parameter to the url, it does not work. It only takes the first parameter.
How do I resolve this?
Plzz help!!
Thanks,
Debolina -
How to pass more than one value to the procedure
How can I pass more than one letting date to this procedure. If it is only one letting date, I do not have a problem but when it is more than one letting date at the same time then I am stuck. please help
example I would like to pass this three letting dates : '01/17/2010', '01/27/2010','05/22/2010'
CEATE OR REPLACE PROCEDURE TPLCP.PLANHOLDERSLIST
P_LettingDate IN VARCHAR2,
p_results OUT sys_refcursor
AS
BEGIN
OPEN p_results FOR
SELECT DISTINCT DECODE (TRIM (MIN (j.route)), NULL, 'N/A',TRIM (MIN (j.route))) rt,l.lcontid conid,
SUBSTR (q.cprojnum, 1, 10) pr, SUBSTR (l.letting, 3, 2)|| '-'|| SUBSTR (l.letting, 5, 2)|| '-'|| SUBSTR (l.letting, 1, 2) lt,
(q.cdescr) jbtyp, INITCAP (q.clocat1 || q.clocat2) loc
FROM vendor v,
vendaddr r,
letprop l,
planhold p,
proposal q,
project j,
propproj k,
bidlet bd
WHERE v.vendor = r.vendor
AND k.contid = q.contid
AND k.pcn = j.pcn
AND l.lcontid = k.contid
AND p.vendor = v.vendor
AND l.letting = p.letting
AND TO_CHAR (bd.datelet, 'MM/DD/YYYY') IN P_LettingDate
AND l.CALL = p.CALL
AND r.addrnum = p.billto
AND bd.letting = l.letting
GROUP BY v.vendor,
r.addrnum,
v.vnamel,
r.aaddr1,
p.billto,
r.acity,
r.astate,
q.cdescr,
q.clocat1,
q.clocat2,
bd.letting,
r.azipcode,
r.vasst1,
r.aphone,
l.letting,
l.lcontid,
q.cprojnum;
END PLANHOLDERSLIST;you can create your on array type and then pass that as the parameter. I use the suffix of ttyp to represent a table type. The name of the column when using the table() syntax is columnvalue.
I altered my session to set the default date format to match your format. you could have used the to_date function to set the values for the arr type.
Hope this helps.
create type msw_ttyp as table of date
create or replace
procedure msw_test(p_arr in msw_ttyp) as
v integer;
begin
select count(*)
into v
from table(p_arr);
dbms_output.put_line('count: '||v);
for rec in (select column_value
from table(p_arr))
loop
dbms_output.put_line(rec.column_value);
end loop;
end msw_test;
alter session set nls_date_format = 'MM/DD/YYYY';
set serveroutput on size 1000000
exec msw_test(msw_ttyp('01/17/2010', '01/27/2010','05/22/2010'));
begin
msw_test(msw_ttyp(to_date('01/17/2010', 'MM/DD/YYYY'),
to_date('01/27/2010', 'MM/DD/YYYY'),
to_date('05/22/2010', 'MM/DD/YYYY')));
end;
/ -
How to backup more than one database using powershell
I am Trying to backup more than one database using the following script but no luck. I want user to type on command line the database they want to backup, e.g all databases that have "test" at the front like test.inventory, test.sales so i want
user to type test.* and it backs up all databases related to test. Here is the script
#$date = Get-Date -Format yyyyMMddHHmmss
#$dbname = 'test.inventory'
$dbToBackup = "test.inventory"
cls
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") |
Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo")
| Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-
Null
Add-Type -AssemblyName "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91"
$server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:ComputerName)
$server.Properties["BackupDirectory"].Value = "C:\_DBbackups"
$server.Alter()
$backupDirectory = $server.Settings.BackupDirectory
#display default backup directory
"Default Backup Directory: " + $backupDirectory
$db = $server.Databases[$dbToBackup]
$dbName = $db.Name
$timestamp = Get-Date -format yyyyMMddHHmmss
$smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
#BackupActionType specifies the type of backup.
#Options are Database, Files, Log
#This belongs in Microsoft.SqlServer.SmoExtended assembly
$smoBackup.Action = "Database"
$smoBackup.BackupSetDescription = "Full Backup of " + $dbName
$smoBackup.BackupSetName = $dbName + " Backup"
$smoBackup.Database = $dbName
$smoBackup.MediaDescription = "Disk"
$smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +
".bak", "File")
$smoBackup.SqlBackup($server)
#let's confirm, let's list list all backup files
$directory = Get-ChildItem $backupDirectory
$backupFilesList = $directory | where {$_.extension -eq ".bak"}
$backupFilesList | Format-Table Name, LastWriteTimeOr i am using this script which backs up everything except tempdb but dont know how to modify this so that it backs up up all test related databases
Is there a way that i use test.*
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | out-null
$s = new-object ("Microsoft.SqlServer.Management.Smo.Server") $instance
$bkdir = "C:\_DBbackups" #We define the folder path as a variable
$dbs = $s.Databases
foreach ($db in $dbs)
if($db.Name -ne "tempdb") #We don't want to backup the tempdb database
$dbname = $db.Name
$dt = get-date -format yyyyMMddHHmm #We use this to create a file name based on the timestamp
$dbBackup = new-object ("Microsoft.SqlServer.Management.Smo.Backup")
$dbBackup.Action = "Database"
$dbBackup.Database = $dbname
$dbBackup.Devices.AddDevice($bkdir + "\" + $dbname + "_db_" + $dt + ".bak", "File")
$dbBackup.SqlBackup($s) -
How to send more than one parameter from FORM to REPORT?
Dear all,
i can send one parameter from FORM to REPORT. but when i send more than one parameter it gives error: frm 41214 unable to run report.
here is the code i think the error is in the following line of procedure:
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_date_from='||v_date_from||'p_date_to='||v_date_to);
where to place the parameters and is there any space is required?
Thanks
Muhammad NadeemDear Saeed Iqbal,
thanks for you reply.
dear i am using Form 10g run_product is not supported in this version.
i am using RUN_REPORT_OBJECT.
PROCEDURE rep_gl_ledger IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
v_date_from date;
v_date_to date;
v_detail_id_from varchar2(100);
v_detail_id_to varchar2(100);
v_voucher_type varchar2(100);
--req_no char(17);
BEGIN
v_date_from := :ledger_para.p_date_from;
v_date_to := :ledger_para.p_date_to;
v_detail_id_from := :ledger_para.p_detail_id_from;
v_detail_id_to := :ledger_para.p_detail_id_to;
v_voucher_type := :ledger_para.p_voucher_type;
repid := find_report_object('gl_ledger');
--repid := find_report_object('REPORT80');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_online_FRHome');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_date_from='||v_date_from||'p_date_to='||v_date_to);
--SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/* Display report in the browser */
WEB.SHOW_DOCUMENT('http://'||:GLOBAL.G_IP||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?','_blank');
ELSE
message('Error when running report');
END IF;
END;
Regards:
Muhammad Nadeem -
How to update more than one table using EO
Hi frnds,
Can someone provide me a doc/link which explain in detail how we can we update more than one PL/SQL tables using entity objects(on which VOs are based).
Till date I have been doing this using PL/SQL procedures but now my requirement is to achieve it thru EO.Someone suggested me use VL to achieve plz help
Thanks & Regards,Hi,
That would be very nice of you,plz send me the docs and also send me similar docs that would be beneficial for a beginner like me.
My id is [email protected]
Thnx for your time. -
How to pass more than one value in RfcRequest ?
Hi Experts,
I have a FModule (addition) which is exposed as an Enterprise Service. This FM takes two values as input(VAL1 and VAL2) and gives the result (RESULT). I have done the configuration to connect to the backend system via SAP Widget Foundation. When i tried to test in URL :
http://localhost:7531/SapMiddleTier/REST/ewcs/service/rfct/form , i gave the input for the RFC Query Parameters as : <VAL1>10</VAL1><VAL2>20</VAL2> , but i get an error "Expecting Expression" .
Am i giving the input in the wrong format ?
I wrote another FM which doesnt take any input but returns some text as output and when i queried it via the above URL, i get the correct result. I again tested with changing the Fmodule that accepts one input and returns one output and i find that it returning perfectly. But when i try with more than one input i get the below error.
Could some one please help ?
See the error :
<?xml version="1.0" encoding="UTF-8"?>
<root>
<Status text="expecting expression" code="-1" type="E"/>
<StatusDetailList>
<StatusDetail type="I" text="expecting expression" code="0"/>
<StatusDetail text="" code="0" type="I" source="net.axyana.qizxopen.xquery.XQEvalException: expecting expression at net.axyana.qizxopen.xquery.ext.XfnEval$Exec.eval(XfnEval.java:62) at net.axyana.qizxopen.xquery.op.Expression.evalAsEvents(Expression.java:556) at net.axyana.qizxopen.xquery.op.ElementConstructor.evalAsEvents(ElementConstructor.java:105) at net.axyana.qizxopen.xquery.op.FLWRExpr.evalAsEvents(FLWRExpr.java:423) at net.axyana.qizxopen.xquery.impl.CompiledQuery.evalAsEvents(CompiledQuery.java:82) at net.axyana.qizxopen.xquery.impl.XQueryExprImpl.doExecuteQuery(XQueryExprImpl.java:267) at
Best Regards,
Sam..Hi John,
Thank you for your reply.
Am trying to test my FM(using http://localhost:7531/SapMiddleTier/REST/ewcs/service/rfct/form) as mentioned in this link:
http://nvpal168.pal.sap.corp:1080/widgetgallery/staticPage.seam?pageId=staticPage9
I had downloaded the SAP Widget Foundation and its running.
Using the link : http://localhost:7531/SapMiddleTier/REST/ewcs/service/rfct/form we can test exposed function modules . If you are using SAP Widget Foundation, then the above link will open up a form
where in the user gives RFC parameters.
I gave it as <VAL1>10</VAL1><VAL2>20</VAL2> and click on Query RFC = > i get the above mentioned error. If this works, then i can call my function module via Adobe flex using HTTP Service with the service url as "http://localhost:7531/SapMiddleTier/REST/ewcs/service/rfct/form".
Best Regards,
Sam. -
Having problems passing more than one parameter with html:link tag
Hi guys,
for my web application I�m using Struts. I�ve got a database with user details. I would like to get users list and link to the details of each user. I wrote the code and everything is working fine only the users list is repeating as many times as users in the list.
For ex: I have in the database User1, User2 and User3. I would like to have a result like:
User1
User2
User3
Instead of it I have the result like:
User1
User2
User3
User1
User2
User3
User1
User2
User3
What I�m doing wrong? Could somebody help me please?
Thank you in advance
There is a snippet of the code, which I�m using in jsp:
<code>
<logic:iterate id="root" name="user">
<%
java.util.HashMap users = new java.util.HashMap();
params.put("user",root);
pageContext.setAttribute("usersName", users);
%>
<html:link name=" usersName " scope="page" page="/name.do">
<logic:iterate id="folder" name="user">
<bean:write name="folder" /><br>
</logic:iterate>
</html:link><br>
</logic:iterate>
</code>Suggestion: next time you post code use the "CODE" button to put code tags around it. It formats much nicer that way :-)
You have a nested loop structure here.
<logic:iterate id="root" name="user">
<%
java.util.HashMap users = new java.util.HashMap();
params.put("user",root);
pageContext.setAttribute("usersName", users);
%>
<html:link name=" usersName " scope="page" page="/name.do">
<logic:iterate id="folder" name="user">
<bean:write name="folder" /><br>
</logic:iterate>
</html:link><br>
</logic:iterate>Both loops iterate over your "user".
Your first loop loops over each user.
Then your second loop also loops over each user - hence you get number of users * number of users = 3 groups of 3.
If you have 4 users, you would have 4 groups of 4.
I only see you setting one parameter: "usersName" What other parameters do you need to pass?
At a guess, the inner loop is unnecessary, and you want to write the users name as the text for the link, and also use it as a link parameter.
<logic:iterate id="root" name="user">
<%
java.util.HashMap users = new java.util.HashMap();
params.put("user",root);
pageContext.setAttribute("usersName", users);
%>
<html:link name="usersName" scope="page" page="/name.do">
<bean:write name="user" /><br>
</html:link><br>
</logic:iterate> -
Problem with passing more than one parameter to a function
Dear Experts,
I have a strange problem while trying to pass parameters to a function in Csharp :
On my database I have a function like
function fooo (parameter1 varchar2, parameter2 varchar2) returns number {
I want to write a csharp function which can execute those functions with varying numbers and types of parameters and returning always a number (see below).
My problem is, that I always pass only one parameter, the second parameter seems not to reach the database-function although I can see
all parameters within the OracleCommand structure (dbcommand) in the debugger.
Can you give me a hint why my function does not work ?
Best regards,
Desperately Daniel
This is my function :
public override int insertDataSetwithReturn(String ProcCall, ArrayList Parameters, ArrayList ParameterTypes, ArrayList ParameterNames)
int ReturnValue = 0;
try {
//Check for compliance of Arraylength
if (!(Parameters.Count == ParameterTypes.Count)) {
//falsche Eingabe !! TODO !
DBConnection myDBConnection = new DBConnectionORA();
DBPOOL.getConnection(out myDBConnection);
OracleConnection myOracleConnection;
myDBConnection.getConnectionout(out myOracleConnection);
OracleCommand dbCommand = new OracleCommand(ProcCall, myOracleConnection);
dbCommand.CommandType = CommandType.StoredProcedure;
//Nun die Parameter aus der Parameterliste füllen.
for (int ParameterCounter = 0; ParameterCounter < Parameters.Count; ParameterCounter++)
OracleParameter myParameter = new OracleParameter();
myParameter.ParameterName = (String) ParameterNames[ParameterCounter];
myParameter.OracleDbType = convertdotNetVariableTypesToDBVariableTypes((String) ParameterTypes[ParameterCounter]);
myParameter.Direction = ParameterDirection.Input;
myParameter.Value = Parameters[ParameterCounter];
dbCommand.Parameters.Add(myParameter);
OracleParameter returnParameter = new OracleParameter();
returnParameter.ParameterName = "ref_ret";
returnParameter.OracleDbType = OracleDbType.Int16;
returnParameter.Direction = ParameterDirection.ReturnValue;
dbCommand.Parameters.Add(returnParameter);
dbCommand.ExecuteNonQuery();
catch (Exception e)
string MessageStr;
MessageStr = "Error insertDataSet (DBConnection_ORA insertDataSet). " +
Environment.NewLine +
e.Message + "." +
Environment.NewLine;
MessageBox.Show(MessageStr, "Error in getArrayListfromProcedureNIP",
MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
} //catch
return ReturnValue;
Edited by: danielwetzler on Dec 15, 2010 4:23 PMHi,
Can you give exactly the error generated by the application?
You can try to reverse the invoking of the parameters. That means, try to invoke the returnValue parameter first and then the others ( IN Parameters ) in the same order that you declared them in your stored procedure.
in PLSQL you have,
Create or replace function ( parm1 IN varchar2, parm2 IN varchar2, parm3 OUT varchar2)
In your application, you must write first:
bla bla bla parm3.direction=parm3.returnvalue
and then
bla bla bla parm1.direction= parm1.input
bla bla bla parm2.direction= parm2.input
Hope this helps you
Walid -
How to send More Than One Parameter To A Pop-Up Region
Hi
I am trying to send multiple parameters to my (standard) OAF Parameterized popup in Release 12.1.3.
According to the OAF Dev Guide I can use this field to send 'Specify any base page parameters to pass to the pop-up region, if the pop-type is parameterized.'
I can send a single parameter (e.g. *pItemID={@ItemID}* ), but I don't know how to send another parameter. Using commas and/or spaces as delimiters
doesn't seem to work.
What is the correct syntax to send multiple parameters?
Thanks, RMHHi,
I haven't tried but u can follow the below approach.
popupBean1.setParameters("pItemID={@ItemID}&deptNo={@Deptno}")
Regards,
Gyan -
Hi Friends,
I want to pass 4 parameter from one iview to other with OBN in the Portal . Can you please give me the details step for that.
Thanks,
SatyaMy got my answer myself.
-
How to pass more than one email address in email template
Hi all.
I need to pass email address list in TO field of email template.I passed the list with comma delimeter but even though mail is trigerring only to the first email address in the list...
If any one come across this please mail me...
It is bit urgent....
Thanks in advance....Hi Thanks for your reply.
No there is no space between two mail ids and also i tried by hardcoding the email id's in TO field even though mail is not triggering....
Through rules i am pasisng the notifer list.Just i am calling the rules in variable and passing that variable in TO field....
Is there any other way to solve this problem...
Maybe you are looking for
-
Using video and audio signal from a camera connect...
Why is it not possible and is skype intending to implement the ability to use the video signal form a digital camcorder connected to a tv? A lot of people these days have digital camcorders or digital cameras that produce video signal. Why can't thos
-
Separate clip flashing at the beginning of each clip
Each clip I insert into my sequence has a brief flash of another clip at the beginning of it. When I select the clip and trim the unwanted piece away, the unwanted piece simply shifts to the the next available point on the clip. This repeats for ever
-
First of all I've never owned a macbook or any laptop for that matter so I don't know really what to expect. I have a couple of questions. One is when i insert a CD into the optical drive it makes a couple of clicking sounds while is taking in the CD
-
My Torch 9860 does not start up. I removed and plugged back the battery three times, but the screen is stuck on loading page. Can anyone help me with this issue, please?
-
Printing a JEditorPane - can't get the true height
I'm trying to print the contents of a JEditorPane with a HTMLEditorKit. The kicker is that a) I need to constrain the width of the pane. b) Once the width is constrained I need to find out how tall the resulting pane is so I can place it appropriatel