Problem in block property (delete allowed)

hi friends,
i have created a form having two blocks with non-isolated relation in them. i have set the delete allowed property to true for child block and false for master block. But when i run the form it will not allow me to delet the record from the child block as the delete allowed button appears in disabled form in the toolbar...
please help in enabling the button so that i can delete the record at runtime for the child block

which kind of toolbar did you use. selfwritten or oracle-standard ?

Similar Messages

  • Delete Allowed Property For Current Record

    I have a requirement where I need to make a record allowed proeprty delete_allowed as false.
    Eg:
    If :variable:='YES' then
    SET_ITEM_INSTANCE_PROPERTY('block_name.item',CURRENT_RECORD,UPDATE_ALLOWED,PROPERTY_FALSE);
    end if;
    I cannot set delete_allowed property here, so how can I set delete allowed property to false?
    if I use
    SET_ITEM_PROPERTY('block_name.item',ENABLED,PROPERTY_FALSE);
    it will set property for all the records in the block, I have a multi-record block
    I am using Oracle Forms 10g
    Thanks

    Thanks for the reply.
    Yes I was thinking of doing this.
    if I put a validation in key-delrec trigger, then do I need to explicitly call a commit or any other method to delete a record if condition is not true?
    Eg:
    If :variable:='YES' then
    Message(' DELETE IS NOT ALLOWED');
    Raise Form_Trigger_Failure;
    ELSE
    commit or delete_record;
    End if;

  • Not allowing block or delete of Customer record via tcode VD02/XD02

    Hi All,
    I want to check on the process of NOT allowing block or delete of a customer record thru tcode VD02/XD02. From a business point, we would like to only use VD05/XD05 to block a customer record and VD06 to mark for deletion. This will allow users to create/change the record using VD02/XD02 and different set of users to have control block/delete.
    Any inputs are appreciated. Thanks.
    Naren

    Hi,
    You will have to discuss this with your Basis team and check if there is any authorization object for that particular functionality in the Transaction.
    As far as i know i dont think it is possible, you can only restrict the users from using particular transactions but not from using a particular functinality in a transaction.
    The best option is to assign alll the Master Data related responsibility to a limited and resposible group of users or discuss with your technical team if they can do some restricting.

  • Delete Allowed generation for tables

    At my group level I have set a value for the "Delete Allowed EL expression". In table layout though, it uses this value to set the rendered property of the checkbox rather than the column, meaning the users still see a column called "Delete ?" with just nothing in it. I've created a custom template and moved the rendered attribute from the selectBooleanCheckbox up to the column.
    Of course I may be doing something wrong here or this might cause problems elsewhere but in case neither of those hold true I thought I would mention it as a possible future enhancement ?
    Cheers,
    Brent

    Brent,
    That's fine, the reason we only hide the checkbox is that it allows for row-specific delete rules. You can conditonally render the delete checkbox based on some attribute values of the row.
    Steven Davelaar,
    JHeadstart Team.

  • Problem in block based Query

    Respected Guru's
    I have a problem eith block bassed query.i have already used this block based query and it is working too.
    But here i am facing the the problem.why becuz i have used a global variable to pass value for execute it.
    and used 'set_block_property' to execute this query ..
    go_block('block name ')
    execute_query;
    But it si showing unable to perform the query..
    How i do this?? plez help me out...

    Dear...........
    There are some possible reasons.
    1- The items that are in data block , there is some field data is not database field and you set the property of this item is
    "Data Base Item" = 'Yes' , means this field is not in table.
    2- user right problem
    3- see the block property where set the property QUERY = NO\
    THX.

  • Performance Point: Code blocks are not allowed in this file.

    Hi All,
    I'm trying to use Performance Point 2010 in Sharepoint 2010...
    I have start the application in centrel admin
    I have created a site collection based on the Bisuness Intelligence Center template
    I can surf the new Site Collection but when I try to open the "Start using PerformancePoint Services" link I get the following error:
    "An error occurred during the processing of /PerformancePoint/Pages/ppssample.aspx. Code blocks are not allowed in this file."
    is there any way to fix it???
    is there any good source to understand and deploy Performance Point 2010??
    thanks All
    Vit

    I have tried the above PageParserPath settings, however none seem to fix this problem for me.  Does anyone have another solution to this issue?
    I've tried...
    <PageParserPath VirtualPath="/Pages/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/PerformancePoint/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/mysitecollection/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    Help Please!!!

  • Problem with a mass delete operation

    Hello,
    This questions concerns Oracle v10g.
    A table is used to record user login information and other connection related details such as IP address, date of connection, time of login, time of logout etc. from a web-based application.
    This table becomes quite large (3 million records+) and is purged once per month of all records older than 3 days old.
    The purge is done with a simple delete based on the date of connection CDAT and the column DISX (disconnection=True/False)
    DELETE FROM LOGTAB where CDAT < sysdate-3 and DISX='T';The columns CDAT and DISX are indexed. This delete operation can tale up to 10 minutes.
    Sporadic problems arise during this delete operation when users connect or disconnect : for those users trying to disconnect, the resulting UPDATE operation on the table currently being deleted seems to hang.
    For the users trying to login, there can be a delay (as the INSERT is in suspense). In the worst case all sessions become blocked until the DELETE is finally commited thus rendering any connection impossible for the duration.
    There is no conflict between the data being deleted and the data being UPDATED or INSERTED.
    The DELETE should only lock the rows that match the WHERE clause, so where is the contention arising from? Could this be index contention?
    Is there a better way to manage such mass deletes on such high transaction tables? Partitions?
    Thank you in advance.

    Have you considered partitioning this table? It would of course depend on whether most queries are looking at the columns you mention, but it would mean you could truncate the partitions older than 3 days ...
    create table LOGTAB
    (   cdat        date not null,
        disx        varchar2(1) not null,
        col1        varchar2(100)
    PARTITION BY RANGE (cdat)
    SUBPARTITION BY LIST (disx)
    SUBPARTITION TEMPLATE
        (   SUBPARTITION sptn_T VALUES('T'),
            SUBPARTITION sptn_Default VALUES(DEFAULT)
    (   PARTITION ptn_20110808 VALUES LESS THAN (TO_DATE('09/08/2011','dd/mm/yyyy')),
        PARTITION ptn_20110809 VALUES LESS THAN (TO_DATE('10/08/2011','dd/mm/yyyy')),
        PARTITION ptn_20110810 VALUES LESS THAN (TO_DATE('11/08/2011','dd/mm/yyyy')),
        PARTITION ptn_20110811 VALUES LESS THAN (TO_DATE('12/08/2011','dd/mm/yyyy')),
        PARTITION ptn_MaxValue VALUES LESS THAN (MAXVALUE)
    insert
    into
        LOGTAB
    SELECT
        TO_DATE('08/08/2011','dd/mm/yyyy'),
        CASE
            WHEN mod(rownum,2)=0 THEN
                'T'
            ELSE
                'S'
        END,
        'Blah'
    FROM
        dual
    CONNECT BY
        LEVEL <= 10
    insert
    into
        LOGTAB
    SELECT
        TO_DATE('09/08/2011','dd/mm/yyyy'),
        CASE
            WHEN mod(rownum,2)=0 THEN
                'T'
            ELSE
                'S'
        END,
        'Blah'
    FROM
        dual
    CONNECT BY
        LEVEL <= 10
    insert
    into
        LOGTAB
    SELECT
        TO_DATE('10/08/2011','dd/mm/yyyy'),
        CASE
            WHEN mod(rownum,2)=0 THEN
                'T'
            ELSE
                'S'
        END,
        'Blah'
    FROM
        dual
    CONNECT BY
        LEVEL <= 10
    insert
    into
        LOGTAB
    SELECT
        TO_DATE('11/08/2011','dd/mm/yyyy'),
        CASE
            WHEN mod(rownum,2)=0 THEN
                'T'
            ELSE
                'S'
        END,
        'Blah'
    FROM
        dual
    CONNECT BY
        LEVEL <= 10
    SQL> select * from logtab where cdat=to_date('08/08/2011','dd/mm/yyyy');
    CDAT      D COL1
    08-AUG-11 T Blah
    08-AUG-11 T Blah
    08-AUG-11 T Blah
    08-AUG-11 T Blah
    08-AUG-11 T Blah
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    SQL> select table_name,partition_name,subpartition_name from user_tab_subpartitions;
    TABLE_NAME                     PARTITION_NAME                 SUBPARTITION_NAME
    LOGTAB                         PTN_20110808                   PTN_20110808_SPTN_DEFAULT
    LOGTAB                         PTN_20110808                   PTN_20110808_SPTN_T
    LOGTAB                         PTN_20110809                   PTN_20110809_SPTN_DEFAULT
    LOGTAB                         PTN_20110809                   PTN_20110809_SPTN_T
    LOGTAB                         PTN_20110810                   PTN_20110810_SPTN_DEFAULT
    LOGTAB                         PTN_20110810                   PTN_20110810_SPTN_T
    LOGTAB                         PTN_20110811                   PTN_20110811_SPTN_DEFAULT
    LOGTAB                         PTN_20110811                   PTN_20110811_SPTN_T
    LOGTAB                         PTN_MAXVALUE                   PTN_MAXVALUE_SPTN_DEFAULT
    LOGTAB                         PTN_MAXVALUE                   PTN_MAXVALUE_SPTN_T
    10 rows selected.
    SQL> alter table logtab truncate subpartition PTN_20110808_SPTN_T;
    Table truncated.
    Elapsed: 00:00:00.03
    SQL> select * from logtab where cdat=to_date('08/08/2011','dd/mm/yyyy');
    CDAT      D COL1
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    08-AUG-11 S Blah
    Elapsed: 00:00:00.00Not sure if it's suitable for you or not but it could be an option...
    HTH
    David

  • Block Property - Update

    Hi,
    I have a problem with forms dev. 6.0 block property. I have only one master block and no details blocks. And I set want user can update the block but not insert. So i set the properties update and insert, true-false properly. But when i want to update a column in the block it wont let me to update. I check the status of the both properties and there was no change. but still cant solve it. Can u help me please. Thanks.

    i've done it already. I've checked the insert and update properties and theres no change of any property but it still dont let me to update. I looked up to the block triggers and item triggers that any changing procedure but i found nothing.

  • Delete Allowed EL Expression

    Hi
    I am trying to restrict users from updating and deleting rows based on certain conditions.
    I have put the following into the Update Allowed and Delete Allowed
    #{data.StudentsPageDef.StudentsCustomerStatus.inputValue=='ACTIVE'}
    When I look at the generated page the Read Only for the columns is set to
    #{!(data.StudentsPageDef.StudentsCustomerStatus.inputValue=='ACTIVE')}
    So this is all good as it sets it to read only if the student is not active.
    However the delete checkbox has no restrictions and I can therefore delete records. The update is restricted so I know the EL expression is fine but it seems to ignore the delete.
    Thanks
    Rich

    Also, just to note that if I go in and edit the page manually I can set the disabled property of the delete checkbox and it works fine.
    For some reason, JHeadstart doesn't seem to generate it though???

  • How do I find out what program / file is using 100 GB of space on my Hard drive?  Once I find the problem  how do I delete the specific files to increase GB of space?

    How do I find out what program / file is using 100 GB of space on my Hard drive?  Once I find the problem  how do I delete the specific files to increase GB of space?

    Use OmniDiskSweeper
    Once you find file, it can be deleted from within OmniDiskSweeper
    Allan

  • How to tell if a contact blocked or deleted me...

    ok, this is rather complicated. A few months ago, when I was using a previous version of Skype, this is what happened: 1. The user appeared as "Away" 2. I could no longer view his number of contacts (though he could have switched this to private)3. His photo on my contact list was replaced entirely by the "Away" status symbol, but when I clicked his name, his profile photo still appeared4. His time zone and location still appeared5. There was no mood message, but I don't remember if he ever had one...6. Our message history still appeared 7. When I filtered my contact list to show only users who had shared contact information, he still appeared8. "Last seen" status was still visible, but it appeared that he was constantly "Away"...I never saw it updated... 9. Most of the time, my own profile would show 0 contacts, even though he appeared on my contact list Had he blocked or deleted me at that point?   Recently, I had to download a new version of Skype, 7.8.2015, I believe and this is how he now appears: 1. His photo appears in my contact list, along with the "Away" status symbol2. His location appears, but still no number of contacts3. His time zone no longer appears4. No "last seen" status appears 5. Our message history is gone, but that could be due to downloading a new version of Skype6. When I filtered my contact list to show only users who had shared contact information, he still appears 7. Still no mood message, but again I can't remember if he ever had one...8. Now, my profile consistently shows 1 contact  What is going on? Have I been blocked? Have I been deleted? Please help! Thanks very much!  

    Oh, there is something else I just noticed: under the number of my contacts, the number "1" is greyed out. Any meaning to that? Could he have deleted or abandoned his account? But then he would appear as "Offline", not "Away", no?

  • Item property does not overrides block property ?

    I have CURRENT RECORD VISUAL ATTRIBUTE set to SOMETHING for block A. i also have CURRENT RECORD VISUAL ATTRIBUTE for item AA in block A ( A.AA) . but when i run form, it looks like item AA's CURRENT RECORD VISUAL ATTRIBUTE is not in effect ?
    usually item's property should override block property. but it'snot happening here.. can anyone figure out??

    Set_Item_Instance_Property is a more specific control, so Set_Item_Property logically should not change it.
    Create two package variables defined in a package specification in the form, trig_item and trig_record.
    Change your WBP trigger:
    Set_Item_Instance_Property(Pkg1.trig_item,Pkg1.trig_record, VISUAL_ATTRIBUTE,'');
    Pkg1.trig_item := :System.trigger_item;
    Pkg1.trig_record := :system.trigger_record;
    Set_Item_Instance_Property(Pkg1.trig_item,Pkg1.trig_record, VISUAL_ATTRIBUTE,'SET');
    Actually, a When-New-Item-Instance trigger might be better than the WBP trigger, so the same action would occur no matter how the cursor is moved around your form (Using Enter or Tab, or shift-Tab, or scrolling).

  • Item property : Update allowed: No

    I have created a tabular form. Due to the fact that it is not possible to record the primary key manually, i have create a fake primary key on field 'ID'. The field 'StatusID' has now a unique constraint in the database. Also the foreign keys refer to the field 'StatusID'.
    I want to prevent updating the field 'StatusID'. In Oracle Forms this was very easy.
    You can set the item property Update allowed : NO.
    But how can I implement this in an APEX tabular form?
    Regards,
    Johan Brouwer

    Leo,
    It's a tabular form. The field StatusID can be recorded manual.
    When a StatusID has been created, it's not allowed to change it anymore.
    If you use "display as text, save state", you are also not able to insert the data in that field.
    So if a record has been created, then it's not allowed to change the field anymore.
    In oracle forms, this was very easy. You could set the insert_allowed property on YES and the update_allowed property on NO. I'll want to built the same functionality in the tabular form.
    Regards,
    Johan

  • I have problems with activation, after delete mi Iphone from Icloud.

    I have problems with activation, after delete mi Iphone from Icloud.

    Hello Sikiz 21,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/TS3424
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Best of luck,
    Mario

  • Block Property (Query Data Source Type)

    Hello Friends
    I am using Forms 6i.oracle 9i.
    in the Block Property Pallete under Query Data Source Type there
    are 4 Type is mentioned.i have used Table,From Clause Query but yet to use Transactional Trigger and Procedure.How to use this two and it will be very kind enough if u give any example about these twos.
    Regards

    There's a whole bunch of explanation about this subject in the online help of Forms. Just select the Query Data Source Type property and press F1. The initial explanation is very limited but there are a number of useful links under "Related topics"

Maybe you are looking for