How to dynamically set the filter IR APEX of the value of a radio button column?

Hello

I built a simple APEX 4.2 IR report that includes column, namely "Source_Data" and a separate user to input radio button namly "P33_SOURCE_DATA" with two possible values in 'X' or 'Y '.

I would like the report filter source_data = 'X' or source_data = "Y" is applied, after each time the user clicks on the radio button P33_SOURCE_DATA. "

So my question is, how to set the value of the IR filter using the value of P33_SOURCE_DATA to the dynamic action and javascript?

Thanks in advance.

Concerning

Susanna

In this case, you can pull an onchange dynamic action on the radio, or at the click of a button.

This dynamic action update your IR region

And your IR region would have an appropriate where clause, with "Page to go" set on your radio.

Tags: Database

Similar Questions

  • How to dynamically set the height and width of the image?

    I'm trying to dynamically set the size of an image of "spacer", but this doesn't seem to work.

    "< img src ="Images/SpacerYellow.gif"width ="5"height =" < cfoutput query = "Img" > #Img.Jan # < / cfoutput > "/ >

    When I insert the source of the page and the view, it is the HTML < img src = "images/SpacerYellow.gif" width = "5" height = "745014" / > why so the stil teeny tiny image? "

    A better question would be, why are you trying to display an image of space which is more than 745 000 pixels high? The HTML code looks OK, so you may be panicking the browser.

    From the point of view best practices, if you only want to display a value in the first row of a query, you can reference using the #MyQueryName.myColumn #. You need not include the query within the tag.

  • How to dynamically set the containers/component

    Hello

    I want to put on if containers of other condition.i.e condition if - set another container2 container1. How can I do? Any reference?

    Hey there,

    Because the way this all happens at the start of your application, simply use the add method that Simon bound for you in his first response.  Don't worry the method replace because that is only for all the containers that are already visible (or is already a child) within your root container (or whichever it is).

        // Just as an example from QSettings...
        if (mySettings.value("firstcontainer", 0) == 1) {
            myFirstContainer = Container::create()
                .layout(StackLayout::create())            .objectName("firstContainer")
                .vertical(VerticalAlignment::Center);
            // Add anything else for your first Container...
            // Then finally, you add it to your main or root
            // container with the add() function. Hopefully your
            // mainContainer is either a class member variable or
            // declared and initialized somewhere above this        // if-else statement.
            mainContainer->add(myFirstContainer);
        } else {
            mySecondContainer = Container::create()
                .layout(StackLayout::create())            .objectName("secondContainer")
                .vertical(VerticalAlignment::Center);
            // Add anything else for your second Container...
            mainContainer->add(mySecondContainer);
        }
    

    However, if somehow somewhere else in your application, you want to change the containers because the user has changed the value QSettings, you would replace it...

    if (user_wants_firstContainer) {    replaceC = mainContainer->findChild("secondContainer");    myCurrentContainer = myFirstContainer;} else {    replaceC = mainContainer->findChild("firstContainer");    myCurrentContainer = mySecondContainer;}
    
    if (replaceC) {
        replaceIndex = mainContainer->indexOf((Control*) replaceC);
    
        if (replaceIndex >= 0) {
            replaceC = (Container*) mainContainer->replace(replaceIndex, myCurrentContainer);
            // If you want to, you can just delete the replaced container here
            delete replaceC;
        }}
    
  • How to dynamically change the value of a column in a report

    Hi, I'm new to APEX and I have a small requirement. I have a report in a page which I query. Report will always have only one record. I need to change a value of a column in this report of the value received from another page. I was able to send the value of another page on my page of reports to a hidden page element, but I don't know how I can configure this value received to this column in the report. Is this possible? If Yes, can anyone help with this?

    970829 wrote:

    Please update your forum profile with a real handle instead of '970829 '.

    Hi, I'm new to APEX and I have a small requirement. I have a report in a page which I query. Report will always have only one record. I need to change a value of a column in this report of the value received from another page. I was able to send the value of another page on my page of reports to a hidden page element, but I don't know how I can configure this value received to this column in the report. Is this possible? If Yes, can anyone help with this?

    Not really clear exactly what it is you are trying to reach. You want to replace the value of a column in the report with the value of a page element? If so, simply replace the column in the report with a reference to the required page elementquery:

    select
       empno
    , ename
    , job
    , :p2_sal sal -- Replace value of sal column with value of P2_SAL item
    from
       emp
    
  • How can I count the number of filled Radio button groups?

    Hello

    I am working on a form that some calculations. The form contains ten groups of option buttons. Part of the necessary calculations is to multiply the number of times 10 filled radio button groups. I need the form to add groups of how the user is finished. So if the user has ticked a box in 7 groups, but not in the other 3, then the value could be set to 7, then later multiplied by ten. I have no problem with the multiply by ten party. I need help to find a way to get the total number of groups done button.

    I think I could get by if I could test if a field group includes a box ticked or not. I could work with this base script:

    var v1 = + getField("Section_1").value;

    If (v1 < 0) {}

    Event.Value = "rubbish";

    } else {}

    Event.Value = v1;

    }

    But it does not work. Does anyone know how to test if a button group has a value? Or how to test if it is "NaN"? Or if not how to calculate the total number of groups button? Any help would be greatly appreciated. I did some research for it on other forums but have not yet found a thread for this topic. Apologies if I forgot the advice in this topic.

    The following code works. I don't know if it's the easiest or most efficient way, but it does the trick:

    var T1 = 0;

    var v1 = + getField("Section_1").value;

    var v2 = + getField("Section_2").value;

    var v3 = + getField("Section_3").value;

    var v4 = + getField("Section_4").value;

    V5 var = + getField("Section_5").value;

    var V6 = + getField("Section_6").value;

    v7 var = + getField("Section_7").value;

    var V8 = + getField("Section_8").value;

    var = v9 + getField("Section_9").value;

    V10 var = + getField("Section_10").value;

    If (v1 > = 0 & v1)<= 5="" )="">

    T1 = t1 = 1;

    }

    If (v2 > = 0 & v2)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v3 > = 0 & v3)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v4 > = 0 & v4)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v5 > = 0 & v5)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v6 > = 0 & v6)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v7 > = 0 & v7)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v8 > = 0 & v8)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v9 > = 0 & v9)<= 5="" )="">

    T1 = t1 + 1;

    }

    If (v10 > = 0 & v10)<= 5="" )="">

    T1 = t1 + 1;

    }

    Event.Value = t1;

  • How can I change the size of my radio buttons

    I am building a survey and option buttons are too small. I wish they were bigger in the region of clickble and visually. I copied the external library to my folder and tried to modify the assets of the radiobutton. I double click on the symbol in the library to enter editing mode, make the changes, and then return to scene 1. Then I drag a component to the stage, but the changes I made are not reflected in the new instance - it looks exactly the same as before.

    Thank you, mgsDolphin

    I tried to change the size of the circle of radio button component to make it easier to choose. To change the size of the circle that is clickable, you import radio button component assets into your library. Help Flash provides a good explanation of this. In my Flash file is stored in:
    Macromedia > Flash > EN > component interface component user FLA > HaloTheme.FLA > Flash > themes > MMDefault > active RB

    You drag active RB out of the external library panel and in the library of your FLA file. Now you can work on them.

    The active key in the elements folder and is called Radio form 1. When you double-click on this you can evolve it and which changes size Visual and clickable circle RB. A problem is that the change is not visible in the FLA, you will need to run the SWF file to see.

  • calculation script based on the value of a radio button

    I wonder if anyone can give me help. I'm doing a calculation script that I can insert in a number field that will calculate only when a radio button is checked. I'm doing an estimate sheet when some check boxes or radio buttons are selected (such as the moving of furniture, pulling up old flooring), it will calculate a supplement based on this selection. Any help would be appreciated.

    Hello

    Paul is right, it's probably something small that is causing the script to fall. Make sure that the things you talk about in your script are correct (to the right name and the full reference in the event of different subforms).

    There is also a syntax button to tick at the top of the script editor. If you click this button, he can identify the problem.

    In which case it might be useful, here is a sample: https://acrobat.com/#d=bUfCkHbTaU0 * GD6Y7pv41w

    Good luck

    Niall

  • How to capture the click event of the hyperlink to dynamically set the uri of destination on a column?

    Hi gurus... I have the script as below:

    I created a search page that gives me different workflow process in the table of results for an employee. Need to convert each process name to point to different pages, which shows the specific details of the process. Please provide your input on how we can convert this column programmatically to point to different pages.

    Thanks in advance.

    Deepak

    Deepak,

    You may need to encode the URL.

    How to encode a string or the form of URL in java setting

    OR

    Please take a look at the link below:

    Learn Oracle Applications with me: OAF: passing parameters, the encryption, encoding

    URL parameters: Encryption and encoding

    When we move from the parameters in the URL, following should be considered:

    {@Attr} - encodes. Becomes Prince khalid Prince % 20Kapoor
    {! Attr} - crypt. Encrypts sensitive information.
    {$Attr} - simple substitution token (without encoding and encryption)
    {@RETURN_TO_MENU}-used for E-Business Suite Personal Home Page. Identical to OAWebBeanConstants.RETURN_TO_MENU_URL.
    {@RETURN_TO_PORTAL}-send the user to a portal launch page. Same asOAWebBeanConstants.RETURN_TO_PORTAL_URL.

    on this basis, try {$Documentumurl}

    Another option is to create a function to use FunctionName instead of giving the path,

    Replace OA.jsp?page=/xx/xxx/xx/xx to OA.jsp? OAFunc = XXXXXX in the VO.

    I hope this helps.

    See you soon

    AJ

  • How to dynamically set the width of the bitmap as mobile size and adjust accordingly the photo.

    I have the bitmap image. Now, I want the bitmap to the screen but its size should be as mobile width and adjust the picture accordingly. For the former I enlarge it should look like small small mobile screen.

    My code but its not working.

    public static BitmapField getHeader() throws NullPointerException {}
    Bitmap b = Bitmap.getBitmapResource("img/logo.jpg");
    return (new BitmapField (b, Field.FIELD_HCENTER) {})
    Protected Sub layout (int width, int height) {}
    setExtent (365, 80);
    }
    });
    }

    You will need to put the image yourself to match the dimensions you need.

    Watch Bitmap.scaleInto)

    If you have transparent images, then watch this:

    http://supportforums.BlackBerry.com/T5/Java-development/resizing-transparent-bitmaps/Ta-p/703239

  • How to outsource the JNDI name (dynamically set the JNDI name)

    Hello

    In the adapters such as ftp, database, must specify the jndi name. This binds the adapter to a particular jndi name. It's certainly better that connect the adapter directly to the physical resource, I was wondering if it is possible to have still more flexibililty-setting the jndi name dynamically.

    Basically my requirement is to develop a web service that reads a file from a FTP location. I know that I can outsource the file name and directory, but I wonder how to dynamically set the ftp location.

    http://Darwin-it.blogspot.com/2008/03/configuration-of-FTP-synchronous-get.html gives the answer if I want to set the host name, portname, user id and password.

    But I want to configure the adapter got FTP and then use this JNDI name in my service. Is this possible... I am using SOA 10.1.3.3

    Kind regards
    Amit

    I've sent.

    -Rigault.

  • How to set the value of a column in a table according to another column?

    Hello world!

    I use Apex 4.1.
    My question is how can I set the value of a column in a table according to another column?
    I have a table and when I insert the value in the column content, I want to change this value in the note column with the note, which is generated with pl/sql function (function of string returned if the typed value is in the range).

    I tried to use javascript as
     $('input[name=f02]').live('change', function(){
    if($(this).val()!='1'){
    $('input[name=f03]').val("test")}
    }); 
    for the development of the column note to test if the value typed in the content of the column is not 1, but this code assigns the value to all the lines and I need to set only the specified line.

    Can someone give me a hint in any way to do this if possible?

    Kind regards
    drama9346

    You will need create a process on your page type PLSQL and develop this process "we demand" of the page. In this process, you can run the PLSQL you need. That is to say to retrieve the note value as described in your PC:

    and when I insert the value in the column content, I want to change this value in the note column with the note, which is generated with pl/sql function (function of string returned if the typed value is in the range).

    In this process, you must provide a return value of the call, and you can do this by using htp.p. Example:

    DECLARE
       --putting x01 in a var to simplify
       l_test_var VARCHAR2(200) := apex_application.g_x01;
       l_return VARCHAR2(200);
    BEGIN
       -- a simplistic test
       IF LENGTH(l_test_var) BETWEEN 10 AND 20 THEN
          l_return := 'String is between 10 and 20';
       END IF;
    
       --this will write l_return to the buffer, and the ajax callback will receive this
       htp.p(l_return);
    END;
    

    And the code that I wrote above, which is javascript, would need to go where your current code is that binds to the onchange event. The result should be that, when a change is made to this element, an ajax request is made on the server. When the call is finished, it will be the value returned in the item you want.

  • How do dynamic actions using work to set the value in all browsers?

    I'm having a problem of incompatibility between browsers with dynamic actions to help to set the value.  Dynamic action works like a charm on Chrome but has no effect on IE or Firefox.  The code in oracle.apex.com and here are the credentials:

    Workspace: DDBA

    Username: [email protected]

    Password: redtruck12

    These codes is on page 3 and here are the details:

    There are two lists of report (Standard and special) and some reports require additional information provided in the lists of selection or text boxes.

    If the user selects a report select Standard requiring a list/text box, then the dynamic action sets the value of the special reports to NULL (and vice versa).

    Dynamic action is to prevent a simultaneous Standard reports and special selection.  To see how it works on Chrome, follow these steps:


    1. Run the Page 3
    2. Select the "Search report" option in the list Report Standard .  A text 'Search criteria' box
    3. Select the option 'Release report' in the list of special reports .  A selection list appears and disappears from the text box 'search criteria '.

    If you do the same on IE or Firefox, the text box does not disappear.

    Hi Edward,.

    Please check page 4 of your app, I made a copy of your page and made a few changes:

    I have set up an example of dynamic action 1 this hanles the report and special report selection list.

    Dynamic action games, select the value of the selection list and he accompanies in detail the report lists to null and then submits the page.

    For this I have deleted the page submit events to the time the report and special report select lists. Instead I handed them a HTML class. The dynamic action is triggered by a change of this category of html.

    When the trigger is the report selection list, select special report is set to null. Also underlying selection sub lists are set to null.

    When the trigger is the special report selection list, the selection of the report is set to null. Also underlying selection sub lists are set to null.

    The two end of the action with a "Send" page to manage the show and hide appropriate items. Note that there is a lag in time due to the submission of the page. As I have suggested, it would be treated better by a refresh of the region. On the other hand you depend on now submit for the continuation of the treatment of your page. With the help of an update of the region would require a work more javascript and cost more redisgn of your page. If you need IE8 support, additional javsascript likely to cause other unexpected behaviors. In other words, a page is maybe in your case probably better then an update of the region after all.

    I checked this page 4, Chrome, Firefox and IE (latest version) and I get the same behavior in all browsers.

    Kind regards

    Vincent

    http://vincentdeelen.blogspot.com

  • How to use PL/SQL to create dynamic action to set the value of a selection by another list?

    Hello

    I would like to know how to use PL/SQL to create dynamic action to set the value of a list of selection by another selection list.

    1.PNG

    I wish can create dynamic action to manage the two above the Room select list (: P9_ROOM) and building (: P8_BUILDING).

    When you select "1074" in the bathroom, building highlights like "BRM BLD 5"

    When you select 'Area of the black box' in the room, building must assign the value "7 BLD BRM"

    When the room is Null, building should also be Null.

    I thank you,

    Alice

    I forgot to mention, for the PL/SQL Code, because you are working with items in the selection list, the return values are different from the display on your LOV values, you must instead use the return values.

    Thank you

    Erick

  • How to set the value of a * APPLICATION * with apex.server.process?

    If I have a page named point P1_MY_PAGE_ITEM, I could put its value in the session by doing this:

    $s('P1_MY_PAGE_ITEM', 'I Like Pie!');
    
    apex.server.process(   'dummy'
                           , { pageItems: "#P1_MY_PAGE_ITEM" }
                           , { dataType: "text",
                             async: false,
                               complete: function( ajaxResponse )
                                     {
                                          var ignoredReturn = ajaxResponse.responseText;
                                     }
                             });

    Which works very well. If you check the session, the P1_MY_PAGE_ITEM will now have the value: I like pie!

    However, if I have an Application element (not a page element!) named MY_APP_ITEM, how could I do the same thing? How can I use apex.server.process to set the value of MY_APP_ITEM in the session? I wouldn't be able to use "pageItems" because MY_APP_ITEM is not a page element, it is a part of the application.

    What is the correct syntax to do this?

    Thank you

    -Joe

    Hey Joe,

    Returning to that thread you made a couple of months ago, the answer is here:

    Post adjustment Application items in the apex.server.process for a * process application *.

    Defining a point of application is as easy as providing the name of the application element to p_arg_names Bay and set a corresponding value in the p_arg_values table.

    For example, in an application with article SOME_ITEM of the application, I can put the value as follows:

    (function(){
    var arrNames = [], arrValues = [];
    arrNames.push("SOME_ITEM");
    arrValues.push('some value');
    apex.server.process(   'dummy'
                         , { p_arg_names: arrNames, p_arg_values: arrValues }
                         , { dataType: "text"
                           });
    })()
    

    Any required application process. Should the item be free that you set it from the browser.

  • How to dynamically change the host name in the Pages of the URL of the APEX

    Dear gurus,

    Please advise me on how to dynamically change the hostname in the URL used in the pages of the APEX.

    For example: I have the below URL in one of the apex pages.
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    in the case of a Migration of this apex from one server to another (for example, TEST the PROD box), this / these pages are wrong because the different host id name in the PROD box.

    Is it possible that we can dynamically change the hostname in the URL used in the pages of the APEX.

    for example
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    should become

    owa_util. REDIRECT_URL ("http://adminetuxdb09.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    It's adminlxdb03.texas.org (TEST) at adminetuxdb09.texas.org (PROD).

    If the page has no error...

    Please notify.

    Thank you
    Sheik

    You don't need to provide the hostname while redirecting in the pages of the apex

    owa_util. REDIRECT_URL ('f? p ='| v ('APP_ID') |) ": 151:" | " v ('APP_SESSION'));

    should work just fine.

Maybe you are looking for