How to pass optional parameters in discoverer 4i
HelloHow to pass optional in oracle discovere 4i parameters, please any body can help me.
Kind regards
Roxanne.
Hello
Sorry, I wasn't very clear.
If you have a question to your EUL, for example, a fullname element and that you set a parameter based on the fullname element, for example, fullname_param and then your workbook contains a condition that uses the parameter, for example, fullname IN: fullname_param.
If you change this condition by adding a supplement OR in the State, you can change the condition of:
FullName IN: fullname_param or NVL (fullname, 'ALL') = DECODE (: fullname_param, 'ALL', fullname)
Then when your user enters the value ALL the parameter fullname_param the condition that you have defined a filter on the fullname element displays all lines.
Now if you also have a list of values defined for the fullname element then the item class used by the fullname also element will have to be changed so that it returns the value ALL in the list of values.
Hope that is more clear now.
Rod West
Tags: Business Intelligence
Similar Questions
-
How to pass the parameters or values film double hollow?
Hello
I create a game in Flash 8 with 2 AS and I have some questions to ask.
First of all, I'm stuck for 2 days to create a tower Laser beam to the target.
I searched the internet for solutions but I can't really find one, so I'll try display of questions myself...
First I tried to create, and the effectHolder in which each laser beam has been created, because it seems I can create only one line in each movieClip...
_root.duplicateMovie(effectHolder_mc , "effectHolder_" + this, _root.getNextHighestDepth());
v = a = _root["effectHolder_" + this];
ray.onEnterFrame = function()
{
v.clear();
v.lineStyle(1,0xFF0000,100);
v.moveTo(this._x, this._y);
v.lineTo(creep._x , creep._y);
v.text = "True"}
It's triggered eveytime, she was a target.
With each turn that triggered a laser that I created, it became more than offset, so I tried selfdestructing after some time.
this._alpha -= 10;
if (this._alpha <= 0)
{
this.removeMovieClip();
}
But he did not actually work, so I tried another solution. I tried to give each MovieClip ("Laser"), duplicate code that creates the laser beam.
onClipEvent(load)
{
this.fx = from._x;
this.fy = from._y;
this.tx = to._x;
this.ty = to._y;
}
onClipEvent(enterframe)
{
_root.dmg.text = "From: " + fx + "," + fy + " To: " + tx + "," + ty; //I used this on a textbox to see if parameters are transmited. But they were all 'undefined'this.clear();
this.lineStyle(1,0xFF0000,100);
this.moveTo(from._x, from._y);
this.lineTo(to._x , to._y);
this._alpha -= 4;
if (this._alpha <= 0)
{
this.removeMovieClip();
}
}The problem is that I did not know how to pass the coordinates of the tower and the target to the MovieClip so that it knows where to create the line.
X++;
duplicateMovieClip(_root.Laser, "Laser" + X, X,{from._x,from._y,to._x,to._y});
g = _root[_root.Laser + X];
g.fx = from._x;
g.fy = from._y;
g.tx = to._x;
g.ty = to._y;Please leave suggestions on how to send the parameters or values for the created clip, or an idea of the creation of this line ("beam") for each tower, without so much trolling.
Thank you
Chris
What is the trigger of v's _alpha decrease?
-
How to pass the parameters in the http post method?
Hello
I want to download the mp3 file on server and I need to pass two parameters with the post method.
Here is my code for this.
String userid="id_user=8379"; String filename="trackName=sample.mp3"; String params=userid+"&"+filename; httpcon=(HttpConnection)Connector.open("http://api.upload.com/gStorage/uploadSong?output=json",Connector.READ_WRITE); httpcon.setRequestMethod(HttpConnection.POST); httpcon.setRequestProperty("Content-type","application/x-www-form-urlencoded"); httpcon.setRequestProperty("Content-type","audio/mpeg3"); os=httpcon.openOutputStream(); os.write(params.getBytes("UTF-8")); fc=(FileConnection)Connector.open("file:///E:/sample.mp3",Connector.READ_WRITE); fileis=fc.openInputStream(); bos=new ByteArrayOutputStream(); byte[] data=new byte[50000]; int ch; while ((ch=fileis.read(data,0,data.length))!=-1) { bos.write(data,0,ch); } os.write(bos.toByteArray()); os.close(); System.out.println("Response code From server"+httpcon.getResponseCode()); if(httpcon.getResponseCode()!=HttpConnection.HTTP_OK) { System.out.println("Failed to upload bytes"); } else { //is=httpcon.openInputStream(); DataInputStream dis=httpcon.openDataInputStream(); int ch1; StringBuffer buffer1=new StringBuffer(); while ((ch1=dis.read())!=-1) { buffer1.append((char)ch1); } System.out.println("Response From Server"+buffer1.toString()); } } i am getting response code ok but fail to upload file.
may I passing the parameter in the wrong way?
thankx.
Hello
Nitin I currently do a midlet project.
So I used multipart post method.
I just read this article. http://MindTouch.firmstep.com/AchieveForms/Design_Guide/Integration_Actions/types/HTTP_POST#top
package com.http.main; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.util.Enumeration; import java.util.Hashtable; import javax.microedition.io.Connector; import javax.microedition.io.HttpConnection; import com.sun.midp.io.BufferedConnectionAdapter; public class HttpMultipartRequest { static final String BOUNDARY = "----------V2ymHFg03ehbqgZCaKO6jy"; byte[] postBytes = null; String url = null; public HttpMultipartRequest(String url, Hashtable params, String fileField, String fileName, String fileType, byte[] fileBytes) throws Exception { this.url = url; String boundary = getBoundaryString(); String boundaryMessage = getBoundaryMessage(boundary, params, fileField, fileName, fileType); String endBoundary = "\r\n--" + boundary + "--\r\n"; ByteArrayOutputStream bos = new ByteArrayOutputStream(); bos.write(boundaryMessage.getBytes()); bos.write(fileBytes); bos.write(endBoundary.getBytes()); this.postBytes = bos.toByteArray(); bos.close(); } String getBoundaryString() { return BOUNDARY; } String getBoundaryMessage(String boundary, Hashtable params, String fileField, String fileName, String fileType) { StringBuffer res = new StringBuffer("--").append(boundary).append("\r\n"); Enumeration keys = params.keys(); while(keys.hasMoreElements()) { String key = (String)keys.nextElement(); String value = (String)params.get(key); res.append("Content-Disposition: form-data; name=\"").append(key).append("\"\r\n") .append("\r\n").append(value).append("\r\n") .append("--").append(boundary).append("\r\n"); System.out.println("****In while Loop:-****"+res); } res.append("Content-Disposition: form-data; name=\"").append(fileField).append("\"; filename=\"").append(fileName).append("\"\r\n") .append("Content-Type: ").append(fileType).append("\r\n\r\n"); return res.toString(); } public byte[] send() throws Exception { HttpConnection hc = null; InputStream is = null; ByteArrayOutputStream bos = new ByteArrayOutputStream(); byte[] res = null; try { hc = (HttpConnection) Connector.open(url); hc.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + getBoundaryString()); hc.setRequestProperty("Content-Length",postBytes+""); hc.setRequestMethod(HttpConnection.POST); OutputStream dout = hc.openOutputStream(); dout.write(postBytes); dout.close(); int ch; is = hc.openInputStream(); StringBuffer buffer=new StringBuffer(); while ((ch = is.read()) != -1) { bos.write(ch); buffer.append((char)ch); } res = bos.toByteArray(); System.out.println(buffer.toString()); } catch(Exception e) { e.printStackTrace(); } finally { try { if(bos != null) bos.close(); if(is != null) is.close(); if(hc != null) hc.close(); } catch(Exception e2) { e2.printStackTrace(); } } return res; } }
and use it in this way
public void getBytes() { ByteArrayOutputStream bos=null; try { bos=new ByteArrayOutputStream(); InputStream fis=getClass().getResourceAsStream("/super.mp3"); int ch; byte[] data=new byte[120]; while((ch=fis.read(data,0,data.length))!=-1) { bos.write(data,0,data.length); } Hashtable params=new Hashtable(); //params.put("id_user","8474"); params.put("id_user","8379"); params.put("file1","audio.mp3"); HttpMultipartRequest httpreq=new HttpMultipartRequest("http://api.upload.com/gStorage/uploadSong?", params,"file1","xpressMusic.mp3","audio/mpeg",bos.toByteArray()); httpreq.send(); bos.close(); fis.close(); } catch (Exception e) { System.out.println("Exception"+e); }
Here, the key is contenttype, contentLength.you can get the info on it from the link above.
thankx.
-
How to pass the parameters in the call to OAFrame.jsp?
Hello
I implement a 3 frame page with a tree structure in one of the frames. I want to pass parameters to the functions (frames) individual constituting OAFrame.jsp call.
But I'm not able to do it.Pls help.
Thank you
AvinashHello
Why you do not set the values in a session?
Thank you
Gerard -
How to create optional parameters
Hi all
im a report.
in my report I'm using name date and provider as parameters.
Date parametrs are mandatory and the provider name parameters are optional
Select $vendor_name from po_vendors where creation_date between: p_from_date and: p_to_date or $vendor_name =: p_supplier_name
my request is this but if I don't give the name of the provider and run the report im get all values, but if I given name provider as a parameter also im getting all values.
Please help me.
Thanks in advanceWhich may be linked to the OR operator used for the provider, because the information will be retrieved even if no provider is provided, as long as the date of creation is the date range.
condition must be:
and $vendor_name = nvl (: p_supplier_name, $vendor_name)
-
How to pass several parameters to vo
Hello
I wrote a serializable method in co
String orgcode1 = pageContext.getTransactionTransientValue("asset12").toString ();
String assetid = pageContext.getTransactionTransientValue("asset1").toString ();
Np1 [Serializable] = {orgcode1, assetid};
am.invokeMethod ("xxEx1", np1);
I wrote in AMImpl
public void xxEx1 (String na2, na3 String)
{
internalcpVOImpl vo = getinternalcpVO1();
Wc1 = string "organization_code =" "+ na2 +" ' ";"
Wc string = "SEGMENT1 = '" + na3 + "'"; "
vo.setWhereClause (null);
vo.setWhereClause (wc1);
vo.setWhereClause (wc);
vo.executeQuery ();
}
I need to add that where the classes in this vo
SELECT distinct meav.c_attribute1, msi.segment1, mp.organization_code
OF csi_item_instances cii,.
MSI mtl_system_items_b,
mtl_eam_asset_attr_values Meave,
mtl_parameters mp
WHERE Meave. Serial_number = ITC. SERIAL_NUMBER
And Meave. MAINTENANCE_OBJECT_ID = cii. INSTANCE_ID
And meav.ORGANIZATION_ID = cii. LAST_VLD_ORGANIZATION_ID
And meav.attribute_category = 'Active common Details'
And msi.inventory_item_id = cii.inventory_item_id
And meav.organization_id = mp.organization_id
-1 (nedd add vo.setWhereClause (wc1);)
-2 (vo.setWhereClause (wc);)
It adds only first parameter of the class where it does not add second parameter where class please give me any solution
Kind regards
Maha
Hello Maha
I hope that you want to pass
organization_code = na2
and SEGMENT1 = na3;
use after
WhereClause = string "organization_code =" "+ na2 +" ' AND SEGMENT1 = ' "+ na3 +" ' ";"
vo.setWhereClause (null);
vo.setWhereClause (whereClause);
vo.executeQuery ();
Concerning
Marie Lise S
-
How to pass several parameters in 10 g reports
Hello
I'm calling the oracle 10grel2 report and I uses run_Report_object and web_show to display the output. I could able to generate the report with a parameter but I tried several settings but its display of the
report without data headers. If I turn the settings directly from the url out of the projection, what may be wrong with my code. Pls find the line that I put multiple parameters. A report on the parameter works very well. Report running and output pdf with only titles without data
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_OTHER, 'pdate =' |: D T.TXTBEDATE |') EDATE =' | : D T.TXTEDATE: ' paramform = no ");"
Rgds
Marie LouiseHello
Add a space before the name edate parameter:
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_OTHER, 'pdate =' |: D T.TXTBEDATE |' edate ='|: D T.TXTEDATE: ' paramform = no "");
Concerning
-
Passing two parameters to work
Hello
How to pass multiple parameters to a function? In the example below, the user selects a radio button, fills a TextInput, and clicks a button to submit the two parameters to a function. How to say function that the event contains two parameters, is to say the value of the option button and that of the TextInput?
< mx:RadioButton id = "png" label = "png" / >
< mx:RadioButton id = "png8" label = "png8" / >
< mx:HBox >
< mx:Text >
< mx:text > enter the size of the image < / mx:text >
< / mx:Text >
< mx:TextInput width = "30" id = 'size' text = "1024" > < / mx:TextInput >
< / mx:HBox >
< mx:Button label = "Snapshot" click = "clickHandler (event)" / > "Thank you
Manolo
Hello
So if I understand you, you have a function to do something when the button is clicked. You will need to acquire the values on the radio and textinput, so the button click handler would look like;
private void clickHandler(event:MouseEvent):void {}
Then you would have to acquire the values of two controls
var radio: RadioButton;
decide option button is selected and then store a reference to it in the variable radio (cos I don't ' know what data you want her)
If {(png.selected)
Radio = png;
} else {}
Radio = png8;
}
Then pass two parameters to a function have you that accepts two parameters.
myFunc (textField.text, radio);
}
Your function to accept these should look like
function (text: String, radioSelected:RadioButton): void {}
}
There's a few ways to do that is one. This help, or the I understood you?
Andrew
-
How to pass parameters in Discoverer
Hi all
I need to recover the data from the database based on the user setting past.
For Ex: I need to recover the data for a given day, what user has entered, which is between effectivee_start_date and end_date. can someone help how to achieve this goal we can not create parameters in discoverer.
Thanks in advance,
REDAHello
If you want to pass parameters of discoverer Admin, you must use the database settings. Take a look at the blog LearnDiscoverer to find out how Oracle Application HR followed by tables set an effective date that you can use when date.
Rod West
-
Process 1 gr 2 OWB flow - how to pass parameters to a procedure
Hello
In 10.1 OWB processflow IN procedure parameters can be passed in the activity view that appears on the choice of the procedure within the processflow. How to enter the parameters IN the case of OWB11gr2. In property inspector no options are there. Any help is much appreciatedHello
Select the processing activity. In the structure window, select the parameter. Then, you can set the binding or the value in the Properties window.
Sometimes the property window is not updated when the setting is selected. Double-click the bar from the window of the property window to maximize.
Kind regards
Carsten. -
Anyone know how to pass parameters of taskFlow entry in MultitaskFlowBinding?
How to pass parameters of taskFlow entry in MultitaskFlowBinding?
While we might get these within regions in multiTaskFlow Binding input parameters.
Check -http://www.awasthiashish.com/2014/08/create-taskflow-and-region-binding-at.html
Download and view the sample application, it shows how to pass inputParameter using a HashMap for multiTaskFlowBinding
Ashish
-
How to pass the album Live view mode Design while working on a fluid page? The drop down option isn't there as if it was on other pages.
You can not. If you want to work with FGLayouts, I recommend drop back to the Release of June 2014 CC before they took the Design of FGLayouts mode.
You can get the version of June 2014 DW direct links below:
Win: http://download.adobe.com/pub/Adobe/Dreamweaver/WIN/CC/Dreamweaver_14_LS20.exe
Mac: http://download.Adobe.com/pub/Adobe/Dreamweaver/Mac/CC/Dreamweaver_14_LS20.dmg
Solution #2: Modify your CSS FGLayout file by adding an X to the code as shown below. This trick DW into thinking that it is a normal page, so you can use the new Design view. NOTE: Do not change the CSS in design Panel. Do it in Code view. Record. Close DW. New launch DW.
/*
Properties Grid Dreamweaver fluid
----------------------------------
DW-num-CLO-mobile: X4;
DW-num-CLO-Tablet: 8;
DW-num-OCOL-Office: 12;
DW-gutter-percentage: 25;
=====================================
Nancy O.
-
How to pass parameters in local html files using InDesign?
How to pass parameters in local html files using InDesign, or how to pass info environment, such as the image, the html code is sitting on top in local html files in InDesign? I try to use the code html-javascript, then simply pass parms to behave differently depending on where the code is placed in the folios of InDesign. I don't know how to do it. If I could read in some environment of the folio InDesign info by using html or javascript, which might work as well. Please advise, thank you!
In indesign, you can draw a box and connect the html code to display in this box, if you do it this way you don't let the application in browser. In the control panel overlays folio, its web called overlays.
I suggest you download Bringhursts ipad Bob application called DPS tips, it will give you a quick overview of all different overlays and basic opportunities.
https://iTunes.Apple.com/us/app/Digital-Publishing-Suite-tips/id436199090?Mt=8
Joe
-
How to pass APEX_UTIL. COUNT_CLICK parameters in the url
Hello
I have to count clicks on list items:
There is an option to click Accounts in the definition of each element of the list,
and you can add category County click here.
However, I also need to add the parameter Id click - p_id.
This parameter (p_id) suppose to pass a value in the column CLICK_ID in the APEX_WORKSPACE_CLICKS view.
I built a url for it.
The url without p_id works perfectly:
But the url with p_id does not at all:z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
Do you know how to pass p_id parameter in the url, so that he would be inserted in the view of apex_workspace_clicks?z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=Profile&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
Thank you!CLICK_ID of the APEX_WORKSPACE_CLICKS column is a number, then you need a number, ex:
& p_id = 1
If your url should look like:
z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=1&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
You can use a page number associated with a click, to be more descriptive
-
How to pass parameters to a Flex application?
I'm new to Flex programming, and I need to pass to a server
parameter generated at my test Flex application below. Can someone show
me a MINIMUM of HTML page size that can pass the "myname" parameter to
my Flex application?Thanks in advance,
Beard
<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "creationComplete ="initVars ()">
< mx:Script > <! [CDATA]
[Bindable]
public var myName:String;
private function initVars (): void {}
myName = Application.application.parameters.myName;
}
[]] > < / mx:Script >
< text mx:Label = "name:"{myname}"" / >
< / mx:Application >Hello
This docs page contains different version (more short long, static and generated) on how to pass arguments to the application through vars:
http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=passingarguments_3.html
(you simply set variable in the object that hosts your flash animation in a page, see doc linked for more details)
Kind regards
Peter
Maybe you are looking for
-
Server crash, now Win2008 says not active with 0xc004e003
This was active and running for years, so I am naturally concerned by what else might not work. How can I activate/fix this? This would save some time rather than having to rebuild Diagnostic report (1.9.0027.0):-------------------------------------
-
HP Photosmart 7520 will not be printed in b &; W
Hello My printer does not print in B & W - it still prints in color, even if I ask you to B & W. I am on Windows 8, tried to put the "print in grayscale" setting to all three options. When I request a print, the printer dialog box comes up and I can
-
How can I become an administrator for my adobe flash player?
When I am trying to update my Adobe flash player. Download goes to 50% - so he stop & said "user lacks sufficient privileges to install adobe flash player." Says I have to be the administrator. HOW?
-
can not see the drives in my computer
I use windows xp sp3, I'm created 10 leave that off that c is the primary drive. out of 10 partations its showing only 6 were leaving when I'm trying to restore the pc is showing the following massage "drives D: G: H: I: changes after this point caan
-
The blue screen with stop continues to appear randomly and everything closed options.
using screen blure xp2000-The windows guard poop upward and it stops even the task manager.it destroyed my work and everything is open :( Can someone tell me how to stop this blue screen please?