RadioGroup, radio buttons in the criteria of cursor

With the help of FORMS 10.1.2.0.2

I have radiogroup with about 15 radio buttons. The value of the value of radio buttons can be alphanumeric - 100, 200, A200, B200, etc..

I have a cursor on a button pulled the trigger. The cursor will query the table of data I need based on a few criteria (in the where clause). I need one of the criteria to the value of the option buttons.

I tried
where xyz = ':control.abc_radiogroup'
or 
where xyz =:control.abc_radiogroup
or 
where xyz =':control.abc_radiogroup.value'
and all return 0 records.

EDIT:

but, static
where xyz = 'A200'
works perfectly.

So, my question is how to get the value of the radio button to my cursor criteria?

Thank you.

Published by: apex_disco on November 16, 2011 09:59

If it works:

where xyz = "A200"

so I can only imagine that your radio button does not have the same value. Maybe a space end or something?
It works when you select A200?

for r in (
  select 'A200' value
  from dual
  where :control.abc_radiogroup = 'A200'
  ) loop
  message('Result: '||r.value);
end loop;  

If so, it must be something else in your select statement which causes no records to retrieve. What the statement is complete?

You have a trigger when Radio change which also changes some values used in the cursor?

Published by: InoL on November 16, 2011 15:51

Tags: Oracle Development

Similar Questions

  • radio buttons for the front end

    OK, so Im new to LabView and tried to create a user interface for several calibration process.  I tried to use radio buttons for the system is selected (only two options) and depending on whether you chose the resulting calibration procedures that would be system can be chosen when other options are grayed out and disabled.  I got the program so that the first selection process would work, but if you click on the case by default, it automatically goes to the default selection. Any help would be appreciated

    I think what you really want is to set the properties in the event of security system. See attachment.

    Note also that this is a loss for the duplicate items (for example property nodes and diagram constants) in all cases of a box structure. Everything is in any case belongs outside the structure of the case. One necessary instance.

  • Radio buttons on the same line

    Hi all

    Somebody kwons how to set the radio buttons on the same line? I use the Application Express 3.0.1.00.07.

    TKS,
    Eric

    Hello

    Edit your article.
    List box of values you have the attribute columns
    >
    Apply to checkboxes and radio groups. Sets the number of columns to use to display values defined in the list of values. By default, all values appear in a column.
    >
    http://download.Oracle.com/docs/CD/B32472_01/doc/AppDev.300/b32471/UI.htm#BABDGJFI

    Kind regards
    Jari

  • Radio buttons in the contact form

    Hi all

    I was wondering if anyone could shed some light on this issue, I'll have. I have a contact form with 5 boxes marked:
    mr_rb
    mrs_rb
    ms_rb
    dr_rb
    other_rb

    Next to the other radio button, I have a textInput fields other_txt. I'm writing some ActionScript when loading the form the the other_txt is hidden or disabled. When the user click on the radio button other_rb the other_txt appears then or become activated with emphasis that it so that the user can start typing right away.

    I would be very grateful if someone could help with this code as it's really starting to annoy me.

    Thanks in advance

    Hi Dave,.

    Try this

    Dazfaz

  • How to add radio buttons to the form

    Hello

    I want to add option buttons to the form.

    I wrote the following code:

    Rbg RadioButtonGroup = new RadioButtonGroup();

    RadioButtonField r1 = new RadioButtonField ("first option button");

    RadioButtonField r2 = new RadioButtonField ("second radio button");

    RadioButtonField r3 = new RadioButtonField ("third option button");

    RBG. Add (R1);

    RBG. Add (R2);

    RBG. Add (R3);

    mainScreen. Add (RBG);

    When I run this, I get uncaughException.

    I am doing wrong?

    can someone help me please.

    Thank you

    Maury.

    On the screen, we can add that the fields. RadiButton group will hold all Radiobutton Fields.

     RadioButtonGroup rbg = new RadioButtonGroup();
            RadioButtonField r1 = new RadioButtonField("first radio button");
    
            RadioButtonField r2 = new RadioButtonField("second radio button");
    
            RadioButtonField r3 = new RadioButtonField("third radio button");
            rbg.add(r1);
            rbg.add(r2);
            rbg.add(r3);
            add(r1);
            add(r2);
            add(r3);
    
  • The award of radio buttons to the signatories Echosign.

    I have a form of EchoSign, which must be completed by the signer1, but cannot be modified by the subsequent signatories. I put all the fields must be attributed to the signer1, but the default value of "Anyone", radio buttons and I can not change this setting.

    Hello Paula3869,

    You can assign the specific role of radio buttons according to the signer by double clicking on it and selecting role as E-sign of Signer1, 2 as needed. Here is the link for reference:

    https://helpx.Adobe.com/content/help/en/document-cloud/help/field-roles.html

    Kind regards

    -Usman

  • Group of radio buttons with the URL of image in a table

    I try to display text and an image for a group of radio buttons to make the form look like

    text (*) for point 1 {image for point 1}

    text () for article 2 item 2 {image}

    text () to the point 3 {image for point 3}

    I found these:

    Re: Is it possible to display an image instead of the button in a group of radio buttons?

    Display image in the Group of radio buttons?

    It looks like all I have to do is create a LOV that looks like:

    SELECT {complex stuff that generates the text string, tag img and image URL}

    DB_PK

    OF dynamic_view_for_lov - public synonym

    But my images are stored in a table.

    I was able to create an IR using the "= BLOB column Format" method.

    The SQL code for the report looks like:

    Select

    display_text, db_pk, image_len, image_clob

    of dynamic_view_for_lov - public synonym

    And the IMAGE_LEN column number/Date Format is:

    IMAGE: DYNAMIC_VIEW_FOR_LOV:IMAGE_BLOB:DB_PK:Inline:Download

    My question: how to create the URL for the tag img for the LOV?

    Thank you very much

    MK

    MikeKutz wrote:

    My question: how to create the URL for the tag img for the LOV?

    Use of the apex_util.get_blob_file_src method of the API.

  • How to disable the radio button to the page

    Hi all
    We have a requirement to disable or hide a button on the standard page Noritifacation reassign in R12.
    The page is/oracle/apps/fnd/wf/worklist/webui/NotifReassignPG.
    When I went to 'Customize Page', I see a "messageComponentLayout", when I put the property "Rendering" to "false".
    He hides the complete available, but I want to just hide only a single radio button in this provision.
    Can someone please?

    Thank you
    Dilip

    Dilip salvation,

    When you click on the link of customization on the OPS page, you can click on full view to display all possible customizations
    This can be done.

    Expand the full view and see if you can find the option button that you want to hide.

    If you are not able to find it, then you can try using controller extension (extension of CO)

    Enter the bean of your controller class processRequest() radio button and hide.

    The extension of controller code-sharing:

    {
    OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean) webBean.findChildRecursive ("RadioBttn1"); RadioBttn1 is the ID of RadioButton
    testButton .setDisabled (true);

    }

    Kind regards
    Had

  • How can we have a column with the text and radio button in the same row?

    Hello

    I have a column that need to have data with a radio button. Has been able to achieve this by using < trh:tableLayout >. But when I select the option button it moves to the next line. You want to stop this behavior of option button to move to the next line. This column also includes a hyperlink. If the text and the hyperlink are made invisible visible based on the action of the radio button.
    Adding one more doubt. A horizontalgrid of specific columns can make invisible?
    Any help would be appreciated.

    example code:
    < trh:cellFormat id = "cf8" halign = 'Start' >
    < af:activeOutputText value = "#{rank." Actions}"id ="aot2"/ >
    < af:goLink text = ' #{rank. " Actions}"id ="gl1 ".
    clientComponent = "true" visible = "false".
    targetFrame = "_blank" destination = "http:// + #{rank." BUTTON_URL} ">"
    < / af:goLink >
    < af:selectBooleanRadio text = "" id = "sbr1" > "
    < af:clientListener method = "selectCheckBox" type = "click on" / >
    < / af:selectBooleanRadio >
    < / trh:cellFormat >

    Thank you
    Nita

    Remove the components from . Put the other components like the direct children of the PanelGroupLayout:

    
      
        
        
        
        
          
        
      
    
    

    If you need to add some space between the components horizontan, you can put (s) between components.

    Dimitar

  • Radio buttons and the theme of the ceremony

    This is in AS2.

    Is there an event "onFocus" for individual or is radio buttons it limited to the radiobutton group?

    If there is an event of development for the buttons, how to I set up?  I've set up an event listener with an event 'onFocus', the 'gotFocus"event, the 'focus' event and nothing does not fire...

    Kind regards

    Rich

    If you look through the help documents, all of the events associated with the radio button class are listed.  There is an event focusIn inherit from the UIComponent class with the option button.  Here is an example to use it...

    var listenerObject:Object = new Object();
    listenerObject.focusIn = {function (eventObj:Object)}
    trace ("radiobutton1 just focus");
    };
    RadioButton1.addEventListener ("focusIn", listenerObject);

  • Radio button of the available text fields

    I have Radio buttons affect you yes and no, I want to make sure if yes is selected the three text fields are available and necessary, but if none is selected then three fields are not available.

    Help, please.

    Place the following code in the MouseUp event of two radio buttons. This code assumes that the value of the key to Yes is 'Yes' and text fields named 'text1', 'text2' and 'Text3 '. Change depending on your situation. If the Yes button is not selected, the text fields are hidden and their values are reset. If so, the fields are displayed.

    You really should put the function as a function called in a JavaScript script at the level of the document and call it from events MouseUp, but you should get the idea.

    (function () {}

    An array of names of fields for text fields
    var f_names is ['text1', 'text2', 'Text3'];.
    var i, f, disp, bReset;

    Whether to show or hide fields
    and to restore or not
    If (event.target.value = 'Yes') {}
    DISP = display.visible;
    bReset = false;
    } else {/ / no is selected}
    DISP = display.hidden;
    bReset = true;
    }

    Show/hide the text fields and reset if indicated
    for (i = 0; i< f_names.length;="" i="" +="1)">
    f = getField (f_names [i]);
    f.Display = disp;
    If (bReset) f.value = f.defaultValue;
    }

    })();

  • Radio button in the PHP form

    Hello

    I would like to change an existing list to a radio on my pho form option.
    http://Opie.monkeyshrine.com/contact/contactus.php

    Of this

    < select name = "reason" = value "<?" PHP if (isset($_POST['reason'])) echo htmlentities($_POST['reason']);? ">" tabindex = "4" size = "1" id = "right" >
    < option selected > tell us why < / option >
    < option value = "Beijing to Moscow" > Beijing in Moscow < / option >
    < option value = "Moscow to Beijing" > Moscow to Beijing < / option >
    < option value = "Vladivostok to Moscow" > Vladivostok to Moscow < / option >
    < option value = "Beijing in Beijing" > Beijing in Beijing < / option >
    < option value = 'Only Mongolia' > only Mongolia < / option >
    < option value = "Options Direct Tranzip" > Options Direct Tranzip < / option >
    < option value = "Another reason" > another reason < / option >
    < / select >

    TO

    < input type = "radio" name = 'trip' value = "<?" PHP if (isset($_POST['BM'])) echo htmlentities($_POST['BM']);? ">" / > Beijing in Moscow < / label >
    < br / >
    < label >
    < input type = "radio" name = 'trip' value = "<?" PHP if (isset($_POST['VM'])) echo htmlentities($_POST['VM']);? ">" / > Vladivostok to Moscow < / label >
    < br / >
    < label >
    < input type = "radio" name = 'trip' value = "<?" PHP if (isset($_POST['MB'])) echo htmlentities($_POST['MB']);? ">" / > Moscow to Beijing < / label >
    < br / >
    < label >
    < input type = "radio" name = 'trip' value = "<?" PHP if (isset($_POST['BB'])) echo htmlentities($_POST['BB']);? ">" / > In Beijing Beijing < / label >
    < br / >
    < label >
    < input type = "radio" name = 'trip' value = "<?" PHP if (isset($_POST['Mongolia'])) echo htmlentities($_POST['Mongolia']);? ">" / > Mongolia only < / label >
    < br / >
    < label >
    < input type = "radio" name = 'trip' value = "<?" PHP if (isset($_POST['Direct'])) echo htmlentities($_POST['Direct']);? ">" / > Options Direct Tranzip < / label >
    < br / >
    < label >
    < input type = "radio" name = 'trip' value = "<?" PHP if (isset($_POST['unsure'])) echo htmlentities($_POST['unsure']);? ">" / >
    Not sure

    except, that I made the wrong group radio and is not insert anything on the answer.

    This is the postal code for php

    $Indhold. = "Type of trip:". " $_POST ['journey']. » \n » ;
    $Indhold. = « \r » ;
    $Indhold. = "why:". " $_POST ['reason']. » \n » ;
    $Indhold. = « \r » ;

    Please help me correct the radio button group.
    Thank you.

    PS. can you also confirm that the local time display your local time?

    yesmaybe wrote:
    >Beijing-
    > Moscow

    This will be only to insert a value in the option button if the form has
    already been submitted * and * $_POST ['BM'] contains a value. You do not have
    need a PHP code in the radio group itself unless you do
    validation server side of the form. It must be:

    Or that (if you validate on the server side):

    --
    David powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • By selecting the radio button makes the required field

    (Actually two similar questions but...)

    • I have a set of option buttons.  When the 'B' button is selected, I need the field text "T" to become "required".  If the user changes her mind and chooses another button or the form is reset to the "T" field does not show being "necessary".
    • The form also has a set of check boxes that, once again, when 'C' is checked, I need 'F' text field to become "mandatory" (or not if the box is unchecked).

    Help with the script for these is appreciated.

    Oh! It's a bit simpler:

    Custom calculation script

    Event.Target.Required = getField("radio1").valueAsString = 'B ';.

  • Structures of the event, radio buttons and the property disable node

    Hello

    I have a very simple VI intended to simulate what I'm trying to accomplish in my program... in fact, when the 3rd option button is selected, I want the text box is disabled and grayed out.  Instead, the case of the event seems to perform the action on the * next * the iteration of the loop.  Can someone tell what I am doing wrong?

    Thank you!

    The terminal of the radio control is inside the case of the discipline concerned.

    (.. .or you can read the new value from the data event [NewVal] node instead if you need the Terminal also).

    Currently, it is read immediately and the value placed in the tunnel. When the event is triggered, the expired value is read from the tunnel.

    Once you pass the terminal in case of the event, it reads only after that the value has changed, and you get the current value.

    Also:

    • You also need an event for the button stop, otherwise the VI cannot be stopped easily.

    • You have the same property node in any of the structure of the case. Put it down after the structure of the case and one is enough.

    • Things that are different are inside the structure of the case.

    • You can combine the cases that are the same (not the default)

    • You can remove the case of timeout.

  • Group of radio buttons in the report updated

    Apex 3.2

    I have a collection

    Start


    IF apex_collection.collection_exists ('SMI_UPDATE_COL') = TRUE THEN

    apex_collection.delete_collection (p_collection_name = > 'SMI_UPDATE_COL');
    END IF;

    APEX_COLLECTION. () CREATE_COLLECTION_FROM_QUERY_B
    p_collection_name = > 'SMI_UPDATE_COL ',.
    p_query = > ' Select rules.source_siid, to_char (rules.validfrom, ' dd.mm.yyyy "), to_char (rules.validto, ' dd.mm.yyyy"), rules.conv, null, null,
    (case when rules.source_siid = recipe.siid)
    and sysdate between rules.validfrom and nvl (rules.validto, to_date ("31.12.2999","DD.)) MM YYYY "))
    then "Y" other "N" end) is_recipe
    of mag_pmix_ruledet rules, mag_pmix_rule header, smi udm_si, BMI udm_si udm_si recipe
    where header.ruleid = rules.ruleid
    and header.target_siid = "' | : P19_SIID | '''
    and rules.source_siid = smi.siid
    and header.target_siid = bmi.siid
    and "I" | substr (bmi.cfmreferencerecipe, 3) = recipe.extkey
    order of smi.apskey, rules.validfrom');
    end;

    And an updated report

    Select

    APEX_ITEM. MD5_CHECKSUM (c001 c002 c003, c004, c005, c006, c007) |

    apex_item. Hidden (13, seq_id) |

    apex_item. Hidden (1, c001) |

    apex_item.display_and_save (2, c002) start_date,

    apex_item.display_and_save (3, c003) end_date.

    apex_item.display_and_save (4, c004) conversion_factor,.

    apex_item. RadioGroup(7,seq_id,C008) ssi,

    seq_id EDIT,

    apex_item.display_and_save (5, si.apskey) SMI.

    apex_item.display_and_save (si.longdescr, 6) Description,.

    C007 aa,

    C001

    to apex_collections, if udm_si

    where si.siid = c001

    and collection_name = "SMI_UPDATE_COL."

    order by desc c007

    I also have a procedure of update, update the column of radio group

    Begin

    BECAUSE me IN 1.apex_application.g_f01.count
    LOOP

    () apex_collection.update_member
    p_collection_name = > 'SMI_INSERT_COL '.
    , p_seq = > apex_application.g_f13 (i)
    , p_c001 = > apex_application.g_f01 (i)
    , p_c002 = > apex_application.g_f02 (i)
    , p_c003 = > apex_application.g_f03 (i)
    , p_c004 = > apex_application.g_f04 (i)
    p_c007 = > ' n ");"

    END LOOP;


    BECAUSE me IN 1.apex_application.g_f07.count
    LOOP

    () apex_collection.update_member_attribute
    p_collection_name = > 'SMI_INSERT_COL '.
    , p_seq = > apex_application.g_f07 (i)
    , p_attr_number = > '7'
    , p_attr_value = > 'Y '.
    );

    () apex_collection.update_member_attribute
    p_collection_name = > 'SMI_UPDATE_COL '.
    , p_seq = > apex_application.g_f07 (i)
    , p_attr_number = > '8'
    , p_attr_value = > apex_application.g_f07 (i)
    );
    END LOOP;


    END;

    Once the user updates the collection of the radio group column is updated and displayed correctly

    My problem is how to view the radio group as checked on the initial page display, before the updates

    cases where rules.source_siid = recipe.siid

    and sysdate between rules.validfrom and nvl (rules.validto, to_date ("31.12.2999","DD.)) MM YYYY "))

    then "Y" other "N" end) is_recipe

    If the code returns Y then the radio must be verified

    Thank you

    Gus

    Hello

    To treat the where you create collection add

    FOR c1 IN (
      SELECT seq_id
      FROM apex_collections
      WHERE collection_name = 'SMI_INSERT_COL'
      AND c007 = 'Y'
    ) LOOP
      apex_collection.update_member_attribute(
        p_collection_name => 'SMI_UPDATE_COL'
        , p_seq => c1.seq_id
        , p_attr_number => '8'
        , p_attr_value => c1.seq_id
      );
    END LOOP;
    

    Check the names of collections.

    I did this also in your example.

    Kind regards
    Jari

Maybe you are looking for

  • update to iTunes blocking software updates

    Execution of mid-2013 MBA with OSX 10.11.6 iTunes updated a couple of weeks 12.4.3. What is happening now is that the same version is "Installation - calculation...". "except that nothing happens. In addition, Security Update 2016 - 001 10.11.6 won´t

  • How can delete old messages that have lost the current interest for?

    I am interested in the purge my last questions, who have now lost relevance mainly because they were related to previous versions of FF. Is it possible now? If it is currently unavailable, then I would leave it as a suggestion for future versions of

  • iMac 27 "end 2013 - random stop

    My iMac 27 "end of 2013 - have this problem to stop randomly, as power chord is out... randomly. I only can he start by plugging the power cable and wait for 5 minutes and then restarting it. When I explored the forum it seems the problem until 2010,

  • box graphics dialog Selection multi-fichiers

    Hello I just realized that in the CVI 9 multiple files selection dialog box, the "Remove all" button may appear corrupted in the lower right. No question the relevance, but may be it could be fixed? Wolfgang

  • I can't get my printer to print 'offline' online

    I went into the print that and tried to uncheck PRINT offline and it won't allow me to uncheck. What can I do to disable this so that my print jobs print?