Update check box item

Hi All,
Thanks for any assistance.
I am using Apex 4.2.0.
I have a check box item that has a list of documents, I would like to check off the documents as they are loaded to another table. What would be the easiest why to accomplish this?
Thanks

To be honest I am not sure how to use that so didn't try. Could you provide me with a sample of the code that i would use. Below is what I was trying to do however all items are being checked and not just the items that match.
select
apex_item.checkbox(1,imm_document_type.id,'CHECKED',NULL)
"Select",
    DESCRIPTION
FROM   IMM_DOCUMENT_TYPE,
       IMM_DOCUMENTS_TEMP
WHERE IMM_DOCUMENT_TYPE.ID = IMM_DOCUMENTS_TEMP.DOCUMENT_TYPE_IDI would really like to put this in an lov checkbox values though and not a report. Can I accomplish that?
Thanks
Edited by: Marie on Dec 6, 2012 6:16 AM

Similar Messages

  • How do  we check the check box items based on the databse fields.

    Hi All,
    I have a requirement like as mentioned below#
    1. I have a combox box whcih i will be populated from database.
    2. I have created two check box as "Stategric " and "Non Stategric".
    3. Now when i select the combox box condition i need to select the check box items.
    4. But the problem is i wil be knowing weather it is a stategric or Non stategirc based on the database column.
    5. How do i need to map the database point of view and correlacte with javascript pont of view.
    6. Do we need to write any Application process to achieve this task and who we can do that.
    Thanks,
    Anoo..

    Hi VC,
    As per my understanding the code should be placed between --.
    Based on this i have placed the code
    function setCheckbox(pThis, pItem){
    alert('inside');
        var l_code = '';
        // Get checkbox name
        rName = document.getElementsById('P1_ENG_BAU').firstChild.name;
    alert("The value is"+rName);
        // Fire AJAX
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=CHECKBOX_LIST',0);
        get.add('F120_COMPANY',pThis.value);
        gReturn = get.get('XML');
        if (gReturn) {
          var values = gReturn.getElementsByTagName('value');
          var messages = gReturn.getElementsByTagName('message');
          // Build the checkbox
          for (i=0; i<values.length; i++) {
            var rValue = values.firstChild.nodeValue;
    var rMessage = messages[i].firstChild.nodeValue;
    l_code+='<input id='+P1_ENG_BAU+'_'+i+' type=checkbox value='+rValue+' name='+rName+'>';
    l_code+='<label for='+P1_ENG_BAU+'_'+i+'>'+rMessage+'</label>
    document.getElementsById('P1_ENG_BAU').innerHTML = l_code;
    Correct me if iam understanding is wrong.
    Thanks,
    Anoo..
    Edited by: Anoo on May 31, 2012 11:04 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Info record update check box in Po

    Hi,
    We are working in ECC 6.0 envirnmoment and our project is trying to explore the functionality of PIR. The problem is I am not able to see info record update check box in the material data tab of the PO. I did not get any configuration in SPRO to make that field visible/ invisible. Please help me to for making this field visible at the time of PO creation in transcaction code me21n.

    HI Muttu,
    SPRO>>MM>>Purchasing >> Purchase order>>Define Screen Layout at Document Level>> NBF>> Administrative data,
    in that u can make display or optional or required entry
    Check once again in ur Purchase order it may be display mode in ur PO
    Regards
    Pramod

  • Complete filter cannot be displayed by check box item - How to solve

    Hi,
    I have created a web template which has a table, chart and the navigational block.
    When i execute the report and further when i want to drill down i use navigational block.
    When i filter the value suppose country in the navigational block by clicking on it, i should be able to see the county values, but i get the error "Complete filter cannot be displayed by check box item".
    How can i solve the problem by getting the filter values, when i further drill down
    Thanks
    rani

    it is a awfull conundrum/and is why I began ONLY using optimum as a web mail/ But  Now yes Now even this is becomming a nasty little night mare'   I see 2 email windows,simotaniously'
    and  Then I se FLASHES of words,stuck in address bar..
    weeks Later I see LAZSLO '
    This lead me to a Univeristy'IMAGINE THIS'
    but is it also a company and Optimum has the web mail as well as tec support OUTSOURCED
    "THEY CAN N OT HELP YOU PAST dinner time,save your breath! 
    BUT WHAT IS HAPPENING WITH ALL THESE points for answers APPLE BOYS AND GRILS?
    HOW do you all get points to the  Happyness to then say TOUCH DOWN?
    remarkably fantastic!'for you not me
    linda really would LIKE TO KNOW WHos doing your mail latley'
    peace

  • Check box item visual attributes

    Hi,
    I set an item visual attributes like below
    background color gray15
    Font weight demibold
    Font style Plain
    Font spacing Dense
    But when executing the form this check box item does not appear clearly, it is not readable, could you suggest me some visual attributes setting to make a check box item more readable?
    Thanks you very much.

    I think the problem is related to enabled of set_item_property of this item when it is set to property_false, the enabled property_false does not allow the visual attributes setting to display the item more readable, do you have any idea to display the item more readable when enabled is set to property_false?
    Thank you very much for your suggestions.

  • Check box Item property in mutiple record block

    Hi,
    I have migrated a number of forms from 6i to 10g. All seems to be working apart from a problem with the display of check boxes that are part of a multiple record block. The item property for the checkbox has font weight set to bold and this works fine on the 6g version. On the 10g version it is displayed as normal font weight.
    Any other items in the record, text items etc are displayed in bold correctly.
    As this seems to affect a lot of forms is there some patch/fix that I should have applied or is this just the way it is?
    I am trying to use set_item_instance_property to set them manually but that doesn't seem to make any difference.
    Thanks in advance and Happy Christmas/New Year.

    Problem solved following response from Oracle support desk -
    UPDATE
    ======
    Hi Dave,
    When using lookandfeel=generic, the colors for different Windows items (e.g., menu, check
    box, window background ...etc) are taken directly from the Operating System
    (OS) user settings. I tested the issue with lookandfeel=oracle and with
    colorScheme set to different values, and check box tick in this case takes the
    same color as the color scheme used.
    I suggest then using dark color scheme to give you a similar effect as it was in Forms 6i. for example:
    colorScheme=Titanium

  • Preventing disabling of check box - item okay in MIGO

    Dear all,
    In the MIGO transaction - during goods receipt for subcontractor material, when the item (incoming) is checked as item okay - automatically the child material (Material sent to subcontractor) is also activated thereby to enable 543 movement.
    Unfortunately some of the users are disabling the check box (for the material sent to the subcontractor). This prevents depletion of stock from the subcontractor but inflates the stock of the incoming material.
    Is there any way - either by authorisation check to prevent users disabling the check box or other methods?
    Experts suggestion is required in this regard.
    Thanks in advance.
    Regards,
    M.M

    Hi Magesh,
    it is possible. use Badi enhancement
    MB_MIGO_BADI goto
    IF_EX_MB_MIGO_BADI~POST_DOCUMENT
    tell your abaper to put the logic like
    parent ID and subcomponent ID need to select
    if either of two is not selected
    then error message will prompt not to save the GR doc since subcomponent is unselected.
    reference field EKPO check PSTYP
    hope this help you.
    regards,
    Maia
    Edited by: Maia on Apr 18, 2008 3:07 PM

  • Check Box item in oracle forms

    Hello experts,               I am new in oracle forms. I am using oracle forms 11g,weblogic server 10.3.5,oracle database 11g at windows 7 platform. I have a simple data block from base table.there is a tabular form is selected, It has four rows(records). Now I have to make 4 check boxes adjacent to records in data block in another data block.Now I have to make functionality in which only those records should be inserted into database table for which corresponding (in front of the record) check box is checked. Thank you regards aaditya.

    Hi,
    Commit_Form built-in function commits all the available data base fields.  So you have to use separate insert into statement to complete your task.
    Like...
    for i in 1 .. 4
    loop
         first_record;
         if :chk_box='Y' then
              Insert into <table_name>  values(field1,field2,....);
         end if;
         next_record;
    end loop;

  • Linking a library to a list - filtering data per selected drop down / check box item

    Good day,
    I am rather new to SharePoint and have run into a dilemma. Is it possible to link a library to a list, then create a parent-child relationship between the the department (list) to document (library)? 
    Example - I have a library that contains 100+ documents, the library is filtered using groups/subgroups. 
    IT
     -> IT TX (30 docs)
     -> IT WI (10 docs)
    Biz Ops 
     -> Biz Ops WI (8 docs)
     -> Biz Ops CA (5 docs)
    In the list I created I have departments as a required field, and a dropdown tool that shows the 5 departments that contain items that need to be grouped together. (Biz Ops, IT, HR, Sales, and Compliance)
    I have linked the library of documents to the form (list), using "Lookup (information already on this site)". All the documents in the library appear in the selection box within the list. However is it possible to first select a department which
    then filters documents only tied to said department? So at the beginning of the list you choose the department you wish to browse the documents, then it filters out all documents not related to that department? 
    My apologies if this is long winded and confusing. Your help is most appreciative. 
    Cheers. 

    Hi,
    According to your post, my understanding is that you wanted to filter the corresponding documents from a Document Library when you selected a department in a List.
    I recommend that you can follow the steps as below to implement it in your environment.
    1. Create a new Web Part Page and add the Document Library and the List web part into it.
    2. Click the List web part, click the current web part’s drop-down arrow, choose Connections, Send Row of Data To, and then choose the Document Library web part.
    3. Click the Document Library web part, choose the “All Items” view from the Selected View, click the current web part’s drop-down arrow, choose Connections, Get Filter Values From,
    and then choose the List web part.
    4. Open the Configure Connection – Webpage Dialog, choose the “Department” column from the Provider Field Name drop-down list and choose the “Group” column from the Consumer Field
    Name drop-down list.
    5. Click Apply, OK button, save the Web Part Page and test it in your environment.
    For more information, you can refer to:
    http://office.microsoft.com/en-us/sharepoint-server-help/connect-data-in-web-parts-HA101785157.aspx
    http://www.dummies.com/how-to/content/connect-web-parts-in-sharepoint-2010.html
    Best Regards,
    Linda Li
    TechNet Community Support

  • Mass Update - checking all items in library

    So somehow all of my songs in my libarary became "unchecked" This stinks for a couple reasons...i can't use party shuffle and i can't play more than one song at a time in itunes in general.
    so my choice is to manually check all 2,000 songs in my library or find some way to re-check all of them in a mass update mode. does anyone know how to do this?
    a bonus would be to understand how they all became unchecked in the first place!!
    thanks and happy holidays

    Hold down the Command key (⌘ or Apple symbol) and then click on the checkbox of any song. This toggles them all on and off: iTunes Keyboard Shortcuts for OSX

  • How do I change the font to bold for a label in a check box item

    I am having no success with this and my internet searches throw me all over the place with no success. Can someone please explain how to change fonts for items in the most simple and basic terms. Thanks

    Use HTML Form Element Attributes and type there something like style="font-weight:bold" or Form Element Option Attributes and class="fielddatabold". See my demo app for that:
    https://apex.oracle.com/pls/apex/f?p=31517:1
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Multiple selection should enable the check box item next to the field

    Hi,
    I want multiple selection for " Environment" field in the Form. Once muliple values are selected, user needs to see a checkbox next to all the values selected in Environment field.
    Checkbox field should be called as ' Implemented'.
    For ex. In Environment Field, I selected three values, I should see checkbox against each selected environments:
    col 1:I Environment col:2 Implemented
    Env1 X
    Env2 X
    Env2 X
    X-> refers to checkbox.
    Please suggest something if anyone have tried this one.
    Thanks in advance.
    Regards,
    Ramya

    hello Ramya,
    In Environment Field, I selected three values, I should see checkbox against each selected environmentsyou can write Post-Change trigger or When-Validate-Item trigger on Column 1 say: txt_environment and in the trigger, write down the following code
              set_item_property('BLOCK.TXT_CHECKBOX',VISIBLE,PROPERTY_TRUE);
              set_item_property('BLOCK.TXT_CHECKBOX',ENABLED,PROPERTY_TRUE);
              set_item_property('BLOCK.TXT_CHECKBOX',NAVIGABLE,PROPERTY_TRUE);
    If someone's response is helpful or correct, please mark it accordingly.

  • Check Box functionally lost when visiblity is turned off then back on

    Please pardon my attempt to ask a coherent question for I am new to Oracle Forms!
    I have created a canvas using the layout wizard against an Oracle table. I needed to provide the means to select mulitple records for DELETION; so, I created a check box item beside the database items to allow the ability to select records to delete. I also allow the user to query this table in query mode against a couple of columns to help isolate records to be deleted. So far, I have gotten the expected functionality from the check box on the initial query of this form.
    Now, heres my problem!
    When I try to reduce the query result while in "ENTER_QUERY" (F7) mode, I intentionally make my check box item invisible. The thought being "I should not allow users opportunity select records for deletion while in the process of querying the table to fetch the records you will be deleting from!" Once I press F8 to execute the my query, I issue the following statements in my KEY-EXEQRY trigger:
    set_item_property( 'EFIS_EMAIL_QUEUE.SELECTTODELETE', VISIBLE, PROPERTY_TRUE );
    set_item_property( 'EFIS_EMAIL_QUEUE.SELECTTODELETE', ENABLED, PROPERTY_TRUE );
    My results are displayed along with the check box to select records for deletion!
    At thsi point, the functionally of the check box no longer works!
    I get a forms error "(FRM-40200) Field is protected against update."
    I look in the Property Palette under the Physical section and the Visible attribute is set to "Yes"!
    Can someone tell me why turning the visible attribute "OFF*" and then back "*ON*" caused the lost functionity?*
    What must I do to get this functionally back without abandoning this design premise?+
    Is there some other attribute settings I must reset in addition to the two set_item_property issued above?+
    Thanks in advance!
    Les

    Add to your code following statement
    set_item_property( 'EFIS_EMAIL_QUEUE.SELECTTODELETE', UPDATE_ALLOWED, PROPERTY_TRUE );
    and hopefully that should take care of your problem.

  • Check box hint

    Hi all,
    I'm using Oracle Forms Builder 10GR2. I have a check box item. I want when it's checked to be non-updatable. So, i put logic in WHEN-CHECKBOX-CHANGED trigger :
    Value when checked : Y
    Value when unched : N
      if
              :<block>.<item> = 'Y'
                   then
                        SET_ITEM_PROPERTY('<block>.<item>', update_allowed,property_false);
               end if;Ok, by this method i'm not able to uncheck the check box once it's checked, but when i go somewhere/or requery the block/ the check box is not checked / although it is non-updatable./
    I saw in the property palette of this item that the Check Box mapping of other values is set to Not Allowed.
    Any ideas how this can be fixed/to be checked when it is :) /
    Thanks in advance,
    Bahchevanov.

    Hi Bahchevanov,
    To quote from the SET_ITEM_PROPERTY Help in Form Builder
    >
    Modifies all <b>instances</b> of an item in a block by changing a specified item property.
    When you specify a change through the SET_ITEM_PROPERTY Built-in, Oracle Forms validates the change before it adjusts the property. If the change is validated, Oracle Forms makes the change and leaves it in effect until another SET_ITEM_PROPERTY changes the same property or the current form is exited.
    >
    What this means that the changes made are after the Form page has been rendered and last till the page is not rendered again or another SET_ITEM_PROPERTY changes it.
    That explains part your observation.
    The other factor is the Intial Value you have set for the Checkbox . You have used Y and N for checked and Unchecked, respectively. Now if Intial Value is Null then it is neither Y nor N. So , you need to perhaps set Initial Value : N
    Regards,

  • FRM-40501 Error When Attempting To Change Check Box Value

    I am getting a FRM-40501 error when attempting to update/change a check box value. There are a few factors in my form setup that could be the problem, I will list them below:
    My initial problem was that my INSERT statement would not trigger to fire (based on an IF statement) when my check box value was not initially set to the value of 'Y', even though the initial value was set to 'Y' in the property palette (value when checked was set to 'Y' and value when unchecked was set to 'N'). So, to remedy this I placed a specific literal select of 'Y' and aliased it back to the name of my check box name in the data block query, like: SELECT 'Y' CB_SELECT_SCHOOL FROM user_schools. Then I changed the check box to a database item (value to Yes when it was No before my "SQL select cheat" in the data block query). This made the initial value 'Y' and satisfied my IF statement before my INSERT statement in my trigger. However, now I can not update the check box item.
    Does anyone know a better way to satisfy the initial value of my check box to 'Y', even though in the initial value parameter for my checkbox is set to 'Y' and forms is not really setting the initial value (when the check box is not set to a database item)?
    Thanks in advance.
    Kyle

    I have fixed my issue.
    I have reverted the check box to not be a database item, removed the "SQL cheat" of selecting 'Y' aliasing my checkbox name in the datablock SQL, and changed the initial value of 'N' in the check box property palette. This will force a change by the user making the check box value of 'Y', satifying my insert when-button-pressed trigger to fire and update the selected row.

Maybe you are looking for

  • Releasing Transport task from  either schedule manager or change request

    Hi Gurus, I had a doubt regarding releasing of tasks of a transport request. Is there any way where I can release a task along with the transport request in the Correction transaction itself? Or is it a standard behavior of SAP Solman process where i

  • Regarding Sements Mapping for desired output

    HI All, I am just confused how to handle this I have two source segments E1EDL37, E1EDL44 and Target IBINPT00 all 3 segments occurence is 0...9999 So for each occurence of E1EDL37 n no of sements repeat for E1EDL44(is in E1EDL37 only) and mapped to I

  • W510 Speaker issues

    I looked around and saw that some are having trouble with their right speakers but my problem is that my volume goes down randomly to where it sounds sort of like it is underwater and very quiet and then all at once it will shoot back up to clear sou

  • Bt infinity 2 slow speeds and disconnection

    hi all hi all after having spent over two hours on the phone with BT being passed from post to post from billing to technical support back to billing people slamming phones down on me and no  help what so ever today 22/05/2014 have been with bt over

  • Mac os x 10.4.11 update -- causes printing problems for Lexmark X1150

    What can I do to get back up printing? Lexmark.com doesn't have a driver to support. Apple Care doesn't have answers... The computer recognizes the printer, and still scans... but no printing... Any ideas would be most appreciated.....