Must pass the overall throughput to form Tabualr region source

Hi all

I created a tabular presentation based on an SQL query. I have 2 global variables 1-DEPT-ID, PERM-DEPT-2:

I try to do the following:

If the DEPT-PERM = 1 then
the SQL query in form tabular source region must retrieve all records in the table no matter what ever the DEPT ID is, but if the DEPT-PERM 2 then it should retrieve only the records that apply to the variable ID DEPT.


Does any1 knows how can I do this in my source in the form of the region? He accepts the PL/SQL query?


Thanks every1

Kind regards

ehammad

Ehammad:

What I suggested in my previous post will do exactly what you want.
You must define "dept_id" and "dept_perm" as part of the request and the assumption is that they will have settled in some way before the user arriving at the page containing your tabular form.

CITY

Tags: Database

Similar Questions

  • Must pass the new parameter to page popup LOV

    Hi all

    I try to pass additional parameters of base page-to-page Popup LOV. In my basic page, I also have 5 columns and 3 rows.

    My requirement is based on the refrence to the selected line in the popup LOV page, I have to do a validation.

    I tried the logic of value form, but it did not work.

    I tried with getCurrentRow(). But he was always returns the reference of the top row.

    Help, please... It is urgent...

    If you want to get the value in the window of LOV, you must join a controller with the LOV window.

    In this controller, to help

    Dictionary passiveCriteriaItems = pageContext.getLovCriteriaItems)

    You can get the value mapped from basic page.

    Sushant-

  • Must pass the value of the user interface

    Hello!!

    I use jdeveloper 11.1.1.5
    I had dragged and dropped three textboxes entered my user interface
    I need to pass the values of the user interface to my methods of AMImpl

    that is in my methods of AMImpl

    VO2.setNamedWhereClauseParam ("Year", [AF:ImputTextBox1]);
    VO2.setNamedWhereClauseParam ("period", [AF:ImputTextBox2]);
    VO2.setNamedWhereClauseParam ("bu", [AF:InputTextBox3]);
    VO2. ExecuteQuery();

    What is the code that lets you get this error? It is obvious that you had the wrong argument type.

  • The user must pass the quiz to continue

    Captivate v5.5

    If I create a quiz with a passing grade (80%) and set it to "Pass Required" - what exactly happens after answering the last question of the quiz and does not reach the required 80%?

    A recovery button on the results screen that they click?

    If there is a recovery button - where to take them - the departure of the quiz, or start or project or can I determine this?

    Thank you

    Don'tL

    Recovery is that if you allow several attempts on Quiz level, has nothing to do with the pass required.

    If the user fails, and exhaustion of attempts (little contradictory with mandatory Pass, I would fix Quiz attempts to many,) action "If lack of Grade" defined in Quiz preferences, success or failure, will be executed.

  • must pass the value on the click event

    I hope I can explain this well. I built a set of miniature furniture which is basically a VBox with an image and text in there field. I have it based on the sample flexstore application. Inside the script of the component, I declare a public variable called model. It contains the name of the corresponding viewstack view. When you click on the thumbnail component I need to update my viewstack with the variable name. I get the variable by calling the event.target.comp between the mouseclick event. The code works fine until I click on the text box or image. Otherwise, he said the model is not defined and there is no default value. How can I make sure that no matter where I click inside the miniature component, it returns this value for me?

    Site with source is available here

    Will put it answered and repost in the appropriate forum. Sorry

    I hope I can explain this well. I built a set of miniature furniture which is basically a VBox with an image and text in there field. I have it based on the sample flexstore application. Inside the script of the component, I declare a public variable called model. It contains the name of the corresponding viewstack view. When you click on the thumbnail component I need to update my viewstack with the variable name. I get the variable by calling the event.target.comp between the mouseclick event. The code works fine until I click on the text box or image. Otherwise, he said the model is not defined and there is no default value. How can I make sure that no matter where I click inside the miniature component, it returns this value for me?

    Site with source is available here

    Will put it answered and repost in the appropriate forum. Sorry

  • Passing the value of the SQL query select list

    Hello

    In my application users have in their homepage to a region which has two simple things, a part of LIST SLECT lov function and a BUTTON

    There is also another page which has a normal life to report which shows the employees.


    Homepage the user can select certain number of Department in its 'SLECT-LIST' and click 'open '.


    For example: If the user has selected a DEP_NUM_5 and click on the BUTTON it will be redirected to the page of a report and gets only showed the employees belonging to the Department 5.


    The report page contains a simple SQL query, and I understand that somehow I must pass the value in the SELECT LIST, where I now have the '?


    How can I do this, where should I start?

    Of course I would really appreciate an example of code, if anyone has time to do a.

    
    select "EMP_ID", 
    "EMP_FORNAME",
    "EMP_SURNAME",
    "DEP_NUMBER"
    from EMP E
    where E.DEP_NUMBER = ????????
    
    

    Hi Sozua,

    1. create an item hidden on the page where you have the report.

    I say P2_DEPT_NO

    2 assign to that in your sql query

    select "EMP_ID",
        "EMP_FORNAME",
        "EMP_SURNAME",
        "DEP_NUMBER"
        from EMP E
        where E.DEP_NUMBER = :P2_DEPT_NO
    

    below the area source ther is also an option

    Elements of page to submit-> put this element in this.

    for example;

    Page to submit items: P2_DEPT_NO

    3. change your button

    Action: Redirecting to page of this application

    Page: 2 / / assuming that page 2 is the report page

    Place these items: P2_DEPT_NO

    with these values: & P1_SELECT_LIST.  assuming that selection list is on page 1

    Hope this helps you,

    Kind regards

    Jitendra

  • Passing the parameter when pageloads as processRequest in OFA

    Hi friends,

    I developed a page (EmpDetailPG) to view the details of the employees. The data appearing on the EmpDetailPG uses a ViewObject that is based on a query. The query lists the details of all employees.

    However, I have to include this page with EBS. The usercontext is available now in the EBS, and when the user loads the page the usercontext of EBS should be taken and passed this ViewObject on loading the page. This will ensure that the page displays the details of the only employee who is logged. How this can be in the ADF page. Ideas please let me know.

    JDeveloper version is 11.1.2.4.0. EBS is 12.1.3

    Thank you

    Hello

    (1) you must pass the username as a parameter of workflow. And then, you will need to filter your from vo of this username. You can do it on the loading of the page. See the blog post very useful for this http://tompeez.wordpress.com/2014/08/20/jdev-12-1-3-use-default-action-instead-of-invoke-action/

    (2) you need to access the user name of the context and value as a workflow parameter. There might be some expressionLanguage which will return the username you see directions to the user of the present session in EBS

    / Context parameter that provides you with the user name, you need to workflow parameter. Refer

    http://docs.Oracle.com/CD/E14571_01/Web.1111/b31974/taskflows_parameters.htm#CHDIAIJJ

    Thank you

  • By passing the value in column IR to package Oracle

    All,
    I try to call a package Oracle of APEX and must pass the value of a column of IR in this packaging. I tried saying: ADJ_ID but I don't think his pasing anything for the backend.
    Here are the steps.
    1. the user runs IR
    2. There is a column that I put as "ROLLBACK" on this report for each line that has a LINK that calls URLS like
    JavaScript:apex.confirm (' safe to restore adaptation? "," SEND");
    3. once the user confirms submit, I call the package, package gets called but I want to send a value for that line to the package, I do this by saying: (colon) rating but it does not work.

    Thank you
    Vishal

    You must set you page item (as you try to pass by using the method of colon in PLSQL) first

    You can change your link to

    * JavaScript:apex.confirm ("Sure to restore adaptation?", {request: 'SUBMIT', value: {"P1_ROW_VALUE": 10}}); *

    P1_ROW_VALUE is the Page element that you want to set and 10 here is specific to the LINE value

    If you use the "links" section in the report attributes
    and then, something like that would

    * JavaScript:apex.confirm ('Safe to restore the fit?', {request: "SUBMIT", value: {'P1_ROW_VALUE': ' #COLUMN_ALIAS #'}}); *

    Alias_de_colonne is the name of the column you want to set the element with the value.

    Published by: 814948 on November 23, 2010 08:46

  • Form when he passes the validation errors validatator show:

    For some reason any in this form when he submits successfully (pass validation) the mistakes of validatator show:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:Panel ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx".

    xmlns:layouts = "" views.layouts. * ""

    creationComplete = "creationCompleteHandler (event)" "

    skinClass = "views.skins.BlueTopPanelSkinWithBlueRedGradient" title = "Log in" xmlns:parsley =" " http://www.Spicefactory.org/parsley "> "

    < s:layout >

    < s:VerticalLayout horizontalAlign = "center" verticalAlign = "middle" / >

    < / s:layout >

    < fx:Script >

    <! [CDATA]

    Import model.vo.AuthenticateUserParams;

    Import model.vo.WindowsActiveDirectoryUser;

    Import mx.collections.ArrayCollection;

    Import mx.controls.Alert;

    Import mx.events.FlexEvent;

    Import parsleyMessages.UserLoginRequest;

    [MessageDispatcher]

    [Bindable]

    public var Dispatcher: function;

    protected var validator: Array;

    protected function creationCompleteHandler(event:FlexEvent):void

    {

    validators = [usernameValidator, passwordValidator];

    }

    protected function login_clickHandler(event:MouseEvent):void

    {

    If (Validator.validateAll (validators) .length > 0)

    return;

    var params: AuthenticateUserParams = new AuthenticateUserParams();

    params. Domain = domain.selectedItem;

    params. Password = password.text;

    params. UserName = username.text;

    Dispatcher (new UserLoginRequest (params));

    clearFields();

    }

    public function clearFields (): void

    {

    username. Text = ";

    Password.Text = ";

    domain.selectedIndex = 0;

    }

    []] >

    < / fx:Script >

    < fx:Declarations >

    < mx:Validator id = "usernameValidator" property = "text" required = "true" source = "{username}" / >

    < mx:Validator id = "passwordValidator" property = "text" required = "true" source = "{password}" / >

    < parsley: Configure / >

    < / fx:Declarations >

    < s:Form >

    < s:FormItem label = "enter user name" color = "#000000" >

    < s:TextInput id = "Username" = '761' x y = "357" width = "131" text = "kisn" / >

    < / s:FormItem >

    < s:FormItem label = "Enter password" >

    < s:TextInput id = "password" x = "825" y = "142.25" width = "132" displayAsPassword = "true".

    Text = "555" / >

    < / s:FormItem >

    < s:FormItem label = "log on" >

    < s:DropDownList id = "domain" x = "825" y = "172.25" width = "132".

    dataProvider = "{new collection ArrayCollection (['HO', 'mM'])}.

    selectedIndex = "0" >

    < / s:DropDownList >

    < / s:FormItem >

    < s:FormItem width = "100%" >

    < s:Button id = "login" x = "115" width = "125" height = "31" label = "Login".

    Click = "login_clickHandler (Event)" cornerRadius = "10" fontSize = "16" "

    fontWeight = "bold" >

    < / s:Button >

    < / s:FormItem >

    < / s:Form >

    < / s:Panel >

    I think I see your problem. Except if you their so-called to do otherwise, mx:Validators will validate automatically each time that the "trigger" was even sent to the target component, this source is linked to. Since you do not specify a triggerEvent validators are tuned to the default event (i.e. for a TextInput "valueCommit" If memories are good) and validate this field whenever this event occurs. In your case, I think the culprit is this call to 'clearFields() '. This method is changing the text in the fields and causing thus the validation runs again on the now empty TextInputs (and therefore invalid).

    The easiest solution if you want to only be triggered manually your validation must set the property to "triggerEvent' of your validators to an empty string. Stop them from trigger automatically when the text is changed.

  • The recipient of a form Acrobat must have Acrobat to complete?

    I hope to post the Adobe Acrobat forms on our Web site, but wonder if those filling them will also have Acrobat. Most if not all of them will be only player.

    I have to disagree. The form does not work properly in most browsers currently in use, because they do not (by default) use Adobe technology. In some cases will not be the form to fill in some, it may seem but eventually broken. It is a serious and growing problem.

    Furthermore, your original question should focus on what you want to do with the form. In fact, Adobe Reader can always fill OUT forms. But then what? Now, we must ask the hard questions. What do you want to happen NOW?  Submit to a web server in the FDF (work) format? Submit to a web server in PDF format? Submit by email (really, really not recommended)? Print? Save to disk?  Many of them do not work only it's only filling that does.

  • Passing the form variables to a thank you page.

    Hi all

    I have put code in place so my survey form transmitting data hidden on a confirmation page and displays the appropriate data. for example

    tag_reportid = 222776

    tag_displayname = Point 26



    My form script is:

    " < form name ="catwebformform3235"method ="post"onsubmit ="return checkWholeForm3235 (this)"enctype =" multipart/form-data"action =" https://BAFs.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=72629 & pageid = %2thankyou.htm? name = {tag_reportid} & amp; titlename = {tag_displayname} & amp; OID = {module_oid} & amp; OTYPE = {module_otype} & amp; EID = {module_eid} & amp; CID = {module_cid} & amp; CC = {module_urlcountrycode} & amp; Sponsor = {module_siteurl, true, true} ">"

    What I see on the receipt/thank you page, is that only the name field has been spent... thankyou.htm? name = 222776,... then it is not passing the titlename field.

    In fact, it seems that it won't any variable after this first field 'name '.

    How can I get the form to send any variable I need more on page of thanks? Thanks in advance.

    Sure thing if your not comfortable with javascript, I created this one liner for you and an example of work (I wrapped the shape with a border of style so that you can see on the page, obviously to remove when you want to go live). I coded only the first two points, if you find that you do others (of course), and then wrap them also.

    Form here

    Example:

    https://jsfiddle.NET/rsy9bxyp/1/

  • How to pass the value of the element from one form to another form?

    Hi all

    I need your help to complete this task.
    I have a form page named reserve form.i have some five fields selection list in the form of reserve, after I chose the first value from the selection list, I create a button in the form of reserve, when I click on the button create, it will open another form page named set form in this form page , I have a field selected, the list of values in configure the form depends on the values selected as a reserve, it means that I have to change the value of page of a form to another form.

    Please suggest a solution, how to pass the value?

    Thank you
    Robette.

    Check out the button create on Page 8.

    In the Action when the button is clicked, the configuration is

    The value of these P35_IT_PRODUCT
    With these values & P8_IT_PRODUCT.

    Kind regards

  • pass the content of the form dreamweaver field...

    Hello my script below:

    < script type = "text/javascript" >

    function OnSubmitForm()

    {

    If (checked document.myform.operation [0] == true)

    {

    document. MyForm.action = "https://webtrace.etdatacenter.com/webtrace.aspx?accesstype=autologin & cust = id_015 & user = temp lateuser."

    }

    on the other

    If (checked document.myform.operation [1] == true)

    {

    document. ' MyForm.action ='https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autologin & cust = id_015 & user = user name";

    }

    Returns true;

    }

    < /script >



    < form name = "myform" target = "_blank" method = "post" action = "" onsubmit = "return OnSubmitForm()"; > "
    < fieldset >
    < legend > < font color = "#FFFFFF" > CONNECTION < / police > < / legend >
    user name: < input type = "text" name = "user name" / > < br / > < br / >
    password: < input type = "password" name = "password" / > < br / >
    < input type = "radio" name = value 'operation' = '1' checked = "checked" / > < font size = "-1" > customer < / police >
    < input type = "radio" name = value "operation" = "2" / > < font size = "-1" > booking Web < / font >
    < input type = "submit" name = "submit" value = "submit" / >
    < / fieldset >

    < / make >

    The user fills their username and Word of past and then selects either "customer management" or "web booking" box... Based on radio button selected, they are directed to

    https://webtrace.etdatacenter.com/webtrace.aspx?accessType=autologin & cust = id_015 & User = user name if 'followed customer' or

    https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autologin & cust = id_015 & user = username if 'web booking '.

    How to pass the user content where I currently have "username", which corresponds to the form field, but I need to move the content.

    Thank you

    If (checked document.myform.operation [0] == true)

    {

    document. "MyForm.action ="https://webtrace.etdatacenter.com/webtrace.aspx?accesstype=autologin&c ust = id_015 & user = templateuser. "

    }

    on the other

    If (checked document.myform.operation [1] == true)

    {

    document. MyForm.action ='https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autolo gin & cust = id_015 & user ="+ document.myform.username.value;

    }

  • A question which must be correct pass the quiz

    Hello - I have a scenario where a course ends with a questionnaire which must be passed to 90% to pass. But I need to add another element to this scenario where as well as 90% of correct answers, a question must answer correctly, pass, regardless of what the score. Any ideas how we could go about implementing that?

    If this issue MUST be correct, I'd give this 90% of the points and all other issues 1 or 2% each to compensate for the 100% need.  Then set required for Col. preference should continue.

    In this way, unless they get the first question correct, they can never pass the quiz, but scores of 0 to 100% are possible.

    It would be a pretty good workaround solution?

  • How to pass the parameter one form to another form?

    Hello

    I want to pass the parameter one form to another form called.

    What are the steps I want to do.

    Please guide me

    Iqbal

    Published by: Sabrina on July 21, 2010 23:38

    You want to see this link...

    sheikyerbouti.developpez.com/forms/Forms_Parameters.doc

Maybe you are looking for