Radio Button or Check Box Group

Hi,
I built a form based on a query. There is a flag column, only one of queried records is allowed to be "Y" in this column. The rests must be null.
Most ideal thing is to have a radio button group, only one of them can be selected.
Another way is to have a group of check boxes also allow only one checked. Once another check box is selected, the previously selected box must be unchecked.
Does anybody have idea of how to do it?
Thanks,
null

You have the save the number of the current ("checked") record in your data block.
After that you can launch a trigger which will scan every record in your data block (there are enough built-ins like FIRST_RECORD, LAST_RECORD, NEXT_RECORD, Current_record property, etc.)to allow you to do this. The trigger will set the check item property to "unchecked" if it is not the saved "checked" record.
Joseph
null

Similar Messages

  • Option ( Radio button  or check box)  on selection - screen , to go to CNR2

    <b>Subject - Option ( Radio button  or check box)  on selection - screen  , to go to Tcode CNR2</b>
    Hi all,
          I have developed  a report   , which  has  a  selection screen  with  one select-option ,  where i enter employee number     and  two radio buttons   ,  one is for all workcentres  and  other one   for active workcentre.   so when i enter  employee number  and  choose  either of the radio button  i wil get the  output  properly.  the output   displays ,  employee no,  employee name ,  work centre  and project  of that employee .   an employee may have  many workcentres   and   a corresponding project  for that work centre.
    Now the  Problem is  ,  from the same   report  i need to add  a option  on the selection -screen ,  ( plz  tell me whether to use  radio button  or check box   and if it is radio button    should  i  use it seperately  or  group it  in the above two buttons.) .
    so that when user selects  the  option   , the control should  go to  transaction code CNR2,  from where  i  can enter workcentre  and   in the next screen i have  HR assigntment tab , after choosing that it will dsplay persons   linked to the workcentre  and there is a delete icon  , from where i can delete the person.
    The only thing is  now to move / Navigate to the screen   or  go to transaction code CNR2   from  the report  or  from the selection screen.
    Your valuable Inputs are awaited, PLz  do lemme know 
    Thanks  in advance ,
    regards,
    Shuja

    Shuja,
    A radio button nor a checkbox should be used for navigation.  I would suggest a COMMAND BUTTON. 
    Something like this:
    Report ZZZZZZ.
    TABLES: sscrfields.
    SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.
    selection-screen: PUSHBUTTON /10(20) but1 USER-COMMAND cli1.
    SELECTION-SCREEN END OF BLOCK ONE.
    initialization.
      but1 = 'Button Text Goes Here'.
    AT SELECTION-SCREEN.
      CASE sscrfields.
        WHEN 'CLI1'.
          call transaction 'CNR2'.
    start-of-selection.
    Your code here

  • Acrobat 9.1  Mac How do you change from Radio buttons to Check boxes?

    I have a DMV Form I Downloaded and had to convert to PS then back to PDF (written originally on PC Acrobat was in XML format).
    So on new form, I am able to add fields. I used the the Forms manager to automatically create the fields. Fields that were made Radio Buttons should have been Check boxes. How do change the Radio buttons to check boxes. There are a lot of them and I don't wish to have to re-key them in.
    Suggestions?

    Well when I click on the box it shows a Check mark in the box. That exactly what I need because in the instructions it requires a Check mark in each of the check boxes. Normally the Med form is sent as a paper copy from DMV every two years.
    Also another Tip. A PDF that has XML Content. (PC Acrobat Version).
    If you want a usable PDF on Mac and get rid of the XML do the following:
    Open the XML Based PDF on Mac Acrobat 9.X .
    Now choose export and save as Postscript File (.ps).
    Now locate and drop on Distiller 9.X.
    When PDF created will be a Pristine exact replica of the XML file except Mac Acrobat can edit and create forms with it.

  • How do I get a radio button acting/check box looking "yes,no" set of checkboxes in InDesign CS6?

    I'm able to do radio buttons OR check boxes, but not the desired "pick only one" yes/no checkbox. Have found lots of general info but not this specific answer. Thanks for any help.

    If I'm understanding your question correctly, you want the FUNCTION of radio buttons (choose only one) with the APPEARANCE of checkboxes (choose all that apply).
    If this is the case you have two options:
    • Create the buttons in ID as radio buttons and edit their button state appearances as appropriate, OR
    • Just create the labels in ID and make the buttons in Acrobat, where there are 6 visual options for radio buttons.

  • Forms - Radio Buttons as check boxes which turn into circles - Need them to stay as check boxes.

    Hi
    I am working on some forms for Teachers Reports it is a generic document for student reports. I have set the document in Indesign 6 and edited the pdf form in Acrobat Pro.
    The form consists of Radio Buttons (Check Boxes) as they have to score the child between 1-4 and the teacher is only allowed to select 1 box from out of the 4 boxes (hence radio buttons) .
    The problem we are having is that there might be 2-3 teachers that have to write and score each child's in a certain section of the report and they might use a PC or MAC to do this.
    For some reason, some of the reports have changed the Radio Button "Check Boxes" to a "Circle" both in the PDF and when printing and they need it to be a Check box. (In indesign this was set to Check Box and to print as a Check box)
    Some how after the teachers have used different computers the check boxes have changed to circles and we need to change them back to check boxes but is there a way to change them without having to go "Forms" > "Edit" > "Select all circles" > "Properties" > "Options" > "Button Styles" > "Change to Check".
    But it is not changing to all of the reports on some.
    Is there an easier option can select properties and search the "circles" and change to "check boxes" for the whole document?
    I really don't want to have to go into each report and have to change each individually or export and import the data in the forms and the teachers dont want to have to rewrite each report.
    Someone please help!

    Are all of the teachers using Adobe Reader (or Acrobat), as opposed to something like Preview on tha Mac or Microsoft Reader on Windows? Preview is known to corrupts PDF form in a number of ways, including converting radio buttons to check boxes. Microsoft Reader causes other types of corruption. Also, if you create the fields in InDesign, it uses non-standard appearances for the various states and even Reader/Acrobat doesn't always set them in the way you might expect, so it's best to create them in Acrobat.
    Your description is a bit confusing since you're calling them radio buttons and check boxes at the same time. Can you clarify what the original field type is?
    It is possible to set the various field appearance properties with a script, which could loop through all of the fields and make the needed changes, but without more information about what's causing the changes and exactly what the changes are, it's hard to suggest anything specific.

  • Captivate 8, knowledge check radio buttons and check boxes not diplaying correctly in HTML5

    Hello. I am working in Cp 8 on a pc (Win 7, 64-bit) and publishing in HTML5, SCORM 2004, 3rd ed. My issue is with knowledge checks. In preview they look fine, but when published, the radio buttons and check boxes are oversized and do not appear as they should. Additionally, the rollover highlight that covers the distracters is skewed and does not cover all the text in cases of long answer choices. When published as a SWF, there are no issues but project requirements are for HTML5 output only. Help?

    Create an XML Schema (XSD) and define that as the default form schema. The form data will conforms to the order of fields defined in the XML schema.
    Hope that helps.
    Nith

  • Step by step process to add Radio Buttons and Check boxes in a view

    Hi,
    Could somone give me the steo by step process for adding the Radio Buttons and Check boxes in a view.
    Regards
    Hrudaya Raju

    https://www.sdn.sap.com/irj/sdn/articles-topic?rid=/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c
    https://www.sdn.sap.com/irj/sdn/webdynpro-elearning
    https://help.sap.com/javadocs/NW04S/current/wd/index.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBox.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBoxGroup.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByIndex.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByKey.html
    Armin

  • Creation of radio buttons and check boxes

    Hi
    This  is ravi
    Please help me to write the following program-
    &#9632;        Design a selection screen having 5 check boxes and five radio-buttons
    &#9632;        Each check box and radio button be given a number starting with one to five
    &#9632;        Depending on which checkbox and radio button is selected output that number
    For example if I have selected check box one and radio button two then the output should be-
    check box number 1
    radio button number 2

    Hi,
    Check the following code:
    SELECTION-SCREEN: BEGIN OF BLOCK BLK WITH FRAME TITLE TEXT-001.
    parameters: chk1 as checkbox,
                chk2 as checkbox,
                chk3 as checkbox,
                chk4 as checkbox,
                chk5 as checkbox,
                rad1 radiobutton group grp1,
                rad2 radiobutton group grp1,
                rad3 radiobutton group grp1,
                rad4 radiobutton group grp1,
                rad5 radiobutton group grp1.
    selection-screen: end of block blk.
    start-of-selection.
    if chk1 = 'X'.
      write:/ 'You selected first checkbox'.
    elseif chk2 = 'X'.
      write:/ 'You selected second checkbox'.
    elseif chk3 = 'X'.
      write:/ 'You selected third checkbox'.
    elseif chk4 = 'X'.
      write:/ 'You selected fourth checkbox'.
    elseif chk5 = 'X'.
      write:/ 'You selected fifth checkbox'.
    endif.
    if rad1 = 'X'.
      write:/ 'You selected first radiobutton'.
    elseif rad2 = 'X'.
      write:/ 'You selected second radiobutton'.
    elseif rad3 = 'X'.
      write:/ 'You selected third radiobutton'.
    elseif rad4 = 'X'.
      write:/ 'You selected fourth radiobutton'.
    elseif rad5 = 'X'.
      write:/ 'You selected fifth radiobutton'.
    endif.
    Regards,
    Bhaskar

  • Radio Button and Check Box

    I am looking for a way to implement a column domain as a radio button (e.g. Yes or No). So far I have only seen JHeadstart generate a list box. I cannot find any reference to radio buttons in the User Guide. Is it possible to generate a radio button?

    Jan,
    I looked into this post-gen action, but am not able to insert a radio group and buttons.
    In a simple emp-dept application I am trying to create radio buttons in empTablePage.uix for the extra emp_class column I added to the emp table. The UIX components palette only gives me the option to insert a radio set. I can only get the option for radio group when I change the application structure to JSP.
    BTW: Jdev 9.0.5.2

  • How do I change the text in a field with radio buttons or check box?

    Hi All:
    I have a form that has a list of things with check boxes (could be done with radio buttons) at the bottom. The client wants a single field at the top of the form that repeats the text next to the checkboxes. For example if a user checks the box next to the words "You did thing 1 wrong" the client wants "You did thing 1 wrong" to appear in this text box at the top of the form. If the user checks the box next to the words "You did thing 2 wrong" the client wants the words "You did thing 2 wrong" to appear in the magic box at the top of the page. There are 10 different check box options, so the box at the top would need to be able to have 10 different things in it.
    Client is not interested in a drop down menu. I asked.
    I am in a bit over my head here, so my question is twofold.
    1. Can you do this in Acrobat Pro 10 on a Mac?
    2. Can you supply me with code?
    Thanks in Advance,
    Amy W.

    Create a text field and make this script its custom calculation script :
         var a ="";
         if (this.getField("Check1").value == "Yes"){
         a="You did thing 1 wrong";
         event.value = a;
    Also, replace "Check1" with the name of your check box or radio button, and give it an export value of "Yes".

  • Radio Button and combo box in Pdf Report.

    Hi,
    I have to make a PDF report with text box,radio buttons and combo boxes.
    The data in the text box will populate from the data base table.
    Similarly the radion button will enable the particular radio button from  a set of available radion buttons as per the value from the database.
    Same with combo boxes.
    The report putput should come in PDF.
    Thanks

    Hi,
    The report sud be pdf output with details like name of person showing in textbox ,then there will be list of radio buttons out of which particular radio button will be checked  as per the option for that particular person in the database.same with combox with for example A,B,C option from the look up is coming but it will be showing the option as per the name of person.We can take the name of person as the primary key.
    The Problem with input controls is that they can be used to filter the report as radio buttons and combo box but they can't be sown in the report itself.

  • Setting tab order in a check box group

    I am running a 508 accessibility test on forms created in Adobe.  The issue that I am having is that when I verify the tab order, it skips the second or any other check boxes in a check box group.  Does anyone know where to set it to recognize all the boxes in a check box group?

    Paul,
    Thank you.  You were correct, it was a version issue.  When I opened the form in Reader 9 with JAWS 10, I was aable to arrow through all of the check boxes with correct identification of each field.  Thanks again for all your help.

  • How to create a message check boxes group dynamically in OA Framework

    Hi all,
    I am developing a custom OAF page. It is a master-detail page. And I am having some difficulties to build that.
    Firstly, I need to create a dynamic message check boxes group. These check boxes will get the prompt from a standard database table's column. Let's say I have table X with description column and it has 7 rows. Values of description column are A,B,C, ...etc. Then my master region on the page will have 7 check boxes with the prompts of A,B, C... Check box number will depend on the row/rows that this table has.
    The other requirement is to create master and detail rows that depends on the number of any checked check boxes. If 2 check boxes are checked then we need to create 2 rows of master data and detail data too.
    Does any of you have any ideas or suggestions to do that?
    It is urgent, any help would be appreciated.
    Thanks in advance and regards
    PS: Is it possible to do that? Can anyone put some light on this thread please?
    Edited by: user1742330 on Aug 12, 2012 4:23 PM

    Please help me out with this issue...
    I am in a very urgent situation. Any idea about this thread???

  • Re: Retrieving data from the check box group.....

    Hi all,
    I am new to webdynpro Java. I'm facing a problem while retrieving data from the check box group..
    I've taken a simple type "Status" and Node with value attribute named status and set the property of that attribute as the simple type. This attribute is bound to the checkboxgroup.The cardinality of the Node is 0..n
    But i am unable to read the checked items of the group.
    Please help me out in solving my problem........

    Hi,
    Use the following
    for (int x=0; x< wdContext.nodeTest().size(); x++)
         if( wdContext.nodeTest().isMultiSelected(x) )
                     // Selected Element
              IWDNodeElement nodeElement = wdContext.nodeTest().getElementAt(x);
               nodeElement.setAttributeValue("<Your Attribute> ", <Value>);
              //Ex setting value for attribute called Name
              nodeElement.setAttributeValue("Name", "Test");
    Regards
    Ayyapparaj

  • Refreshing the 'Check Box Group' UI element

    Hi ,
    The requirement is the 'Check Box Group' UI element should be refreshed automatically . I am dynamically creating the 'Check Box Group' UI element and want to refresh it once I transfer the checked values from the Check Box group.
    How this can be realized !!!
    Best Regards
    Sid

    Hi Sid,
    CheckBoxGroup UI element`s content is done by binding property <i>texts</i> with appropriate attribute in context node. So, if you change data node and node elements, this will affect UI element immediately.
    Best regards, Maksim Rashchynski.

Maybe you are looking for

  • Logistics Invoice Verification - Error in MIRO Transaction

    While posting the invoice in MIRO we get an error - " Maximum permitted number of internal tax items reached". What is the solution?

  • HT201343 I can't get my airplay to work.

    I have a 2012 macbook pro with retina display and an apple tv3. I can get airplay with my iphone and ipad but I don't get the icon to show up on my menubar or in my system preferences My apple tv is update, they're on the same network. Any help? I'm

  • Report taking more time to format in PDF

    Dear All I have developed report in oracle reports bulider 10g. while running it from report builder data is coming very fast. But, If it is running from parameter form it is taking too much time to format report in PDF. Please suggest any configurat

  • Using the paint() function on a JFrame

    I'm currently enrolled in a graphics course and we've done several programs with line drawing algorithms, polygon filling algorithms, and the like. The only problem is, I have to work on our computers in the lab on campus because of this problem: On

  • How to write the given query using 'ANY ' operator

    Hi, How to write the given query using 'ANY ' operator , I dont need to fetch to grade_master table twice in database, just need to fetch within the result set. SELECT dsg_code,dsg_name,dsg_grade FROM designation_master WHERE dsg_orgn='&&Orgn' and ds