How to disable instances of items in forms 4.5 in a mlti row block

I have a multi row database block in forms 4.5 . One of the items is a checkbox. Based on certain conditions the user should be allowed to select only the checkbox only for some rows. How can i selectively disable the checkbox for some record and enable it for the other records.
I know this can be done in OFrms 6i using set_item_instance_property but this is not available in forms 4.5 . Any ideas or workarounds to achieve this ?
Thank You
Satya
Edited by: Satya V on Aug 13, 2009 11:48 AM

I fear there is no direct solution.
May be this is a work-around:
1. Apply the older built-in: Display_item. You can't disable the item with display_item, but you can change the visual attribute and show the user that this item should not be checked.
2. To be shure that the user doesn't ignore this "disable", you need a trigger, which resets the item to the proper value after an illegal change.

Similar Messages

  • How to disable edit.delete in oracle forms 11i?

    i was able to use APP_SPECIAL.ENABLE('EDIT.CLEAR',PROPERTY_OFF); to disable the clear button but also want to disable delete button,
    i added the APP_SPECIAL.ENABLE('EDIT.DELETE',PROPERTY_OFF); in the pre_block and pre_query trigger but not able to disable the delete item from edit menu.
    Am i doing sometjhng wrong?

    Hi;
    Please check
    How to disable delete button in a form
    How to disable delete button in a form
    Regard
    Helios

  • How to disable programmatically an item in a Descriptive flexfield

    Hi friends,
    doy you know How to disable programmatically an item in a Descriptive flexfield using CUSTOM.pll?
    The problem is that I need to do it under the WHEN-NEW-RECORD-INSTANCE event, and the item (based in an attribute column of a database table) hasn't a canvas asociated at that moment....
    Do you have any example?
    Thanks,
    Jose.

    Hi Prashant,
    mmm yes, for now there are two fields it he DFF window.. but in a future .. may be more..
    I've found a function:
    fnd_flex_key_api.enable_column that may be properly for that, but I don't know what to pass in the the first parameter (flexfield IN flexfield_type)...
    I mean: I suppose is the "name" for my DFF but.. how can I get it?
    Thanks,
    jose.

  • How to disable/invisible submenubar item in Script ?

    I want to create a dynamic menubar (disable/invisible submenu
    item) in Script , My menubar is like the following:
    <mx:XML id="myMenuData">
    <xmlRoot>
    <menuitem label="MenuItem A" >
    <menuitem label="SubMenuItem A-1"/>
    <menuitem label="SubMenuItem A-2"/>
    </menuitem>
    <menuitem label="MenuItem B"/>
    </xmlRoot>
    </mx:XML>
    <mx:MenuBar labelField="@label"
    itemClick="menuHandler(event);" id="myMenu"
    dataProvider="{myMenuData}" />
    How to set SubMenuItem A-1 invisble/disable in Script?

    Bumping...I've the same question. Please help.
    Thanks!

  • How to disabling a button in the form?

    Hi All,
    Based on our requirement we need disabling a button in a form depends on the value of another item in same form itself. I was searched through forum but i didn't get the suitable answer for this. Please help me if anybody know the solution.
    Thanks in Advance...
    Regards,
    Neel

    Hi Neel,
    You could set the conditional display of the button based on a Plsql function returning a boolean.
    Something along the lines of:
    IF :P1_ITEM = 'Some Value' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    This will not display the button at all unless the P1_ITEM is equal to the value that you want.
    This is the simplest form that will get you going. If you want to "grey out" the button to leave it visible but disabled then you would need to investigate this a little further. I have seen some other threads that would probably help you out here but am no exert on javascript so just have a poke around.
    Hope this helps,
    Mike C

  • How to Disable Save Button in interactive form via sfp

    Dear,experts
    My requirement is that Disable Save Button in interactive form via sfp .Is there any options to do this or write Javascript/Formcalc.Please help!
    Thanks
    Vince.

    I found a adobe documentation that says that If you want to disable some toolbar buttons, you will have to use application-level Javascript. Looks like it is not possible from ADLC
    Place the following Javascript code inside a .js file in
    %ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScripts   to disable the toolbar buttons:
    // [File - Create Adobe PDF Using Acrobat.com], plus toolbar button
    app.hideMenuItem("WebServices:CreatePDF");
    app.hideToolbarButton("Weblink:CreatePDF");
    // [File - Collaborate], plus toolbar button
    app.hideMenuItem("Annots:FileCollaboration");
    app.hideToolbarButton("Annots:CollabToolButton");
    app.hideToolbarButton("CommentTask");
    app.hideToolbarButton("SigTaskButton");
    app.hideToolbarButton("SaveFileAs");
    app.hideToolbarButton("Save");
    Regards
    Sandy

  • How to disable delete button in a form

    HI
    can anyone show me the procedure to disable the delete button from oracle forms seeded and custom form oracle applications 11i. We are on form patch set level 18
    Regards

    Hi ,
    there are various ways of doing it..
    You can try as the previous post says or also you can try When new block instance trigger and disable the item
    using set_item_property , it all depends on when and how you want to diable that item.

  • How to disable spell checker in editable forms?

    Hello, everyone,
    Asking for an advice.
    I want to disable spell checking in an editable PDF form, since I don't have the dictionary of my language.
    Spell checking in this case is bit annoying and slows down the editing.
    I have the checker disabled in the preferences. However the checker still tries to do it's job.
    How do I disable it?
    Greetings,
    Vytas

    Thanks for checking it out.
    If anybody has ideas about this, please share
    Cheers,
    Vytas

  • How to disable Add New Item in SharePoint 2013

    Hi,
    I want to disable the Add New Item button after the user created one item in SharePoint 2013.
    Is it possible to disable?
    Please reply
    Thank you

    I'd do it creating a custom web part that would mimic the list web part, and have logic in there that makes sure to hide the button once an entry by the current user has been made in the list. You could also create a workflow that would remove the user's
    permission to add a new item on the list upon creating an item.
    Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com

  • How to search for CLOB item in Form?

    I create a table
    CREATE TABLE PHOTOS
    (PHOTO_ID VARCHAR2(15) NOT NULL,
    PHOTO_IMAGE BLOB,
    TEXT_DESCRIPTION CLOB,
    FILENAME VARCHAR2(50),
    FILE_SIZE NUMBER NOT NULL,
    ACCESS_RIGHT VARCHAR2(7) NOT NULL,
    CONSTRAINT CK_ACCESS_RIGHT CHECK (ACCESS_RIGHT IN ('PRIVATE', 'PUBLIC')),
    CONSTRAINT PK_PHOTOS PRIMARY KEY (PHOTO_ID)
    create index idx_photos_text_desc on
    PHOTOS(TEXT_DESCRIPTION) indextype is ctxsys.context;
    INSERT INTO PHOTOS VALUES
    ('P00000000000001', empty_blob(), empty_clob(),
    'SCGP1.JPG',100,'PUBLIC');
    INSERT INTO PHOTOS VALUES
    ('P00000000000002', empty_blob(), 'Cold Play with me at the concert in Melbourne 2005',
    'COLDPLAY1.JPG',200,'PUBLIC');
    INSERT INTO PHOTOS VALUES
    ('P00000000000003', empty_blob(), 'My parents in Melbourne 2001',
    'COLDPLAY1.JPG',200,'PRIVATE');
    COMMIT;
    EXEC CTX_DDL.SYNC_INDEX('idx_photos_text_desc');
    I created a Form which maintains the above table. I found that the Query By Example does not work for TEXT_DESCRIPTION which is CLOB.
    How can I search text in CLOC using Forms?
    Message was edited by:
    wyfwong

    What version of forms? There is a Forms/CLOB bug that gets fixed in 10g Forms.
    Note:252285.1
    ORA-932 When Querying a Block Based on From-Clause-Query With CLOB

  • How to value non-table items in Forms

    Portal 3.0.7.6.2 on NT
    I am trying to display non-table items on a Form. I want to do things like: Display the Credit Card Type (non-table item) based on the Credit Card Number (table column). Use a foreigh key (table column) to retrieve related data for display/information only on the Form. The doesn't appear to be p_session variables for these 'added' Form items so I can't use the p_session functions. Any ideas??? I'd prefer a PL/SQL solution.

    Hi Michael,
    As Dmitry said that values for non table form field cannot be displayed completely using pl/sql, u can use some pl/sql and some javascript to achieve this .
    Say, take the example of the Emp table where I would like to display the department name for the deptno. Here I'll use pl/sql to retrieve the value of department name using the deptno and use javascript to display the results in the new field added to the form.
    Steps :
    1> Create a form say, on the emp table
    2> In the field formatting section, add a new item of the type text box and add a javascript event onFocus and give the foll javascript function call for the same :-
    javascript:getval(this)
    3> In the additional pl/sql section, for the "after displaying page ..." part we'll add the following pl/sql code :-
    declare
    l_dno number(4) default null;
    l_desc varchar2(100);
    begin
    l_dno := p_session.get_value_as_NUMBER
    (p_block_name => 'DEFAULT',
    p_attribute_name => 'A_DEPTNO',
    p_index => 1);
    if l_dno is not null then
    begin
    select dname into l_desc
    from scott.dept
    where deptno = l_dno;
    exception
    when others then
    null;
    end ;
    end if;
    htp.p('<script>');
    htp.p('function getval(ele){'&#0124; &#0124;chr(10)&#0124; &#0124;
    'ele.value = "'&#0124; &#0124;nvl(l_desc,' ')&#0124; &#0124;'";}');
    htp.p('</script>');
    end;
    4> Run the form and perform a query. Place the cursor on the desc field after the page reloads with results. The department name would come up.
    Hope this helps.

  • How to disable a BUTTON on the form?

    Hello
    I am trying to disable my_button (regular) by usinf this.disabled = true by seeing in google, but, its not working!
    Pls. let me know how to either disabel a button or invisible/hide a button, syntax pls. with syntax errors pls.
    Thank you

    To disable a button try the below script.
    this.access = "readOnly";
    To make it hidden or invisible try the below script.
    this.presence = "invisible";
    this.presence = "hidden";
    Thanks,
    Aravind

  • How to disable signature messages in Acrobat forms?

    I was using LiveCycle to create and store about 100 forms for my company. Recently I started redoing all the forms in Acrobat Pro v9 so I could use the same field names in merged documents, something I couldn't do with LiveCycle.
    Adobe Reader users are complaining about dialogue boxes and menu bar messages directing them to "Click 'Sign' to fill out and sign this form. When done, ou can save a copy by checking 'Done Signing'." There are no signature fields in any of the documents, although Acrobat's form wizard inserted many during the original creation of the document. I removed all signature fields and substituted them for plain text fields. Apparently though, the original signature fields leave behind a remnant that warns users about them ... even though they no longer exist.
    What can I do get rid of this warning in the new forms I've created and ensure that signature fields are not inserted when I create new forms using the form wizard?

    I'm experiencing a similar problem. I've created an interactive (but not reader-enabled) PDF with form fields and radio buttons using InDesign CS6. When my office distributes this PDF to users for them to fill out, we explain that they must be sure they are using version XI of Adobe Reader if they want to fill out the form and then electronically save it. But this "Click 'Sign'" message is giving people the false impression that they can use version X of Reader. Here is what is happening:
    When I open the PDF using Adobe Reader XI, I see a message in a purple banner--"Please fill out the following form. You can save data typed into this form."--which is what I would expect to see. Great!
    However, when I open the PDF using Adobe Reader X, I see a message in the purple banner which says, "Click 'Sign' to fill out and sign this form. When you are done you can save a copy by clicking 'Done Signing'." Moreover, when I click into the first form field to begin filling out the PDF, a pop-up appears that says "Form Can Be Filled and Signed Electronically," and also reiterates that "When you are done, you can save a copy by clicking 'Done Signing'." The problem with these messages is it gives our Reader X users the impression that they can fill out the form and then either save a local copy or electronically send (with EchoSign) a copy of the file with their filled-in responses; but since the PDF is not reader-enabled (our cumulative user base would exceed the licensing limit of 500), this is not in fact true. Thus, some of these Reader X users end up filling out the form, clicking the "Sign" tab, clicking the "Signed. Proceed to Send" button, and then sending it to us through EchoSign--and we receive a blank form. Yikes!
    It would be ideal if there were some way to prevent that "you can save a copy by clicking 'Done Signing'" message from appearing and misleading our Reader X users. Even if we put verbiage on the PDF to clarify that they cannot "save a copy"--at least, not a copy with any of their responses preserved--it is still confusing for the user to get mixed messages.
    I've also tried re-saving the PDF in Acrobat Pro 10.1.9, without any security settings, and then again with password protection and restricting changes allowed to "Filling in form fields and signing existing signature fields" (we have to keep the form fields accessible), but those PDFs behaved in exactly the same way.

  • How to disable frm messages in oracle forms

    Hi,
    I am getting a form error, FRM-41830:List of values contains no entries. whereas I dont want this message to be displayed instead i want a user specified msg like "No entries for specific location!"..
    I have even tried using, :system.message_level:=25;
    Please suggest solutions.
    Bye.

    The on-error and on-message triggers at the form level are doing the trick for me :) You can also use them to customize the error/warning messages.

  • Disabling the button in a form

    Hi,
    May i know how to disabling the button in a form based on value of item in same itself. For eg: In a form an Select list item called 'Flag' which holds the values like Y and N. If Flag is N means the Button called 'Check' will be disable otherwise no need to disable the button 'Check'. It is our requirement, please help me if any one know the solution.
    Regards,
    Neel

    Hi Neel,
    You could set the conditional display of the button based on a Plsql function returning a boolean.
    Something along the lines of:
    IF :P1_ITEM = 'Some Value' THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    This will not display the button at all unless the P1_ITEM is equal to the value that you want.
    This is the simplest form that will get you going. If you want to "grey out" the button to leave it visible but disabled then you would need to investigate this a little further. I have seen some other threads that would probably help you out here but am no exert on javascript so just have a poke around.
    Hope this helps,
    Mike C

Maybe you are looking for

  • Is not null and null join

    Hi, I am trying to properly display a list of tasks for a project however without a join to the project number (which I was aware of) and the employee table, I get over 500 results. The task can be created without a employee assigned to it so therefo

  • WAD Display value in bar of a bar chart

    Hello group, I'm trying to display the values of every bar in a bar chart and can't fine the way to.  I'm sure it's quite easy and can't find the solution.  I've searched the forum and only found a link on SAP help which explains how to do it on indi

  • How to Calculate Net Cash in Bank

    Hi, I got requirement to write Query which will return Bank wise Net Cash Amount as of Today. Can anyone guide me how can I build query to get Net Cash amount in EBS R12? Is there any report available which i can refer? Regards, Priyanka

  • SRM-PI-ECC Integration issue

    Hey All There is some issue coming in Central Contact management scenario. SRM 7.0 ECC 6.0 EHP 4 PI *below is the error details we get in SXMB_MONI of SRM Sytem*  <REMOVED BY MODERATOR>   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!-

  • How do I stop "Buzzdock" from opening in a new tab?

    I open a new tab and it redirects to some stupid "buzzdock" search. This drives me nuts. It started when I tired to download the youtube downloader add-on, I didn't like it and uninstalled it along with the other crap it installed on me, but then wen