Problem to enabled a sumit ADF button by javascript

hello, i have a form in my jspx page :
<af:form>
                    <!-- Input fields -->
                    <af:panelForm id="panel" labelWidth="10%">
                         <af:outputFormatted value="Please fill one field only" />
                         <af:objectSpacer width="100" height="20" />
                         <afh:tableLayout borderWidth="0">
                              <afh:rowLayout halign="right">
                                   <afh:cellFormat>
                                        <af:outputText value="#{bundle.cust_search_id}"
                                             inlineStyle="font-size: 10pt;" />
                                        <af:objectSpacer width="10" height="20" />
                                   </afh:cellFormat>
                                   <afh:cellFormat>
                                        <af:inputText id="custID" columns="10"
                                             value="#{customerSearch.customerId}"
                                             disabled="#{!customerSearch.fieldSelected}" />
                                   </afh:cellFormat>
                                   <afh:cellFormat width="10">
                                        <af:selectBooleanRadio group="RadioButtons" id="select_id"
                                             onclick="fieldSelectionDisplay()" />
                                   </afh:cellFormat>
                              </afh:rowLayout>
                              <afh:rowLayout halign="right">
                                   <afh:cellFormat>
                                        <af:outputText value="#{bundle.cust_search_card_number}"
                                             inlineStyle="font-size: 10pt;" />
                                        <af:objectSpacer width="10" height="20" />
                                   </afh:cellFormat>
                                   <afh:cellFormat>
                                        <af:inputText id="cardNumber" columns="10"
                                             value="#{customerSearch.cardNumber}"
                                             disabled="#{!customerSearch.fieldSelected}" />
                                   </afh:cellFormat>
                                   <afh:cellFormat>
                                        <af:selectBooleanRadio group="RadioButtons" id="select_number"
                                             onclick="" />
                                   </afh:cellFormat>
                              </afh:rowLayout>
                              <afh:rowLayout halign="right">
                                   <afh:cellFormat>
                                        <af:outputText value="#{bundle.cust_search_msid}"
                                             inlineStyle="font-size: 10pt;" />
                                        <af:objectSpacer width="10" height="20" />
                                   </afh:cellFormat>
                                   <afh:cellFormat>
                                        <af:inputText id="msid" columns="10"
                                             value="#{customerSearch.msid}"
                                             disabled="#{!customerSearch.fieldSelected}" />
                                   </afh:cellFormat>
                                   <afh:cellFormat>
                                        <af:selectBooleanRadio group="RadioButtons" id="select_msid"
                                             onclick="" />
                                   </afh:cellFormat>
                              </afh:rowLayout>
                              <afh:rowLayout halign="right">
                                   <afh:cellFormat>
                                        <af:outputText value="#{bundle.cust_search_identifier_login}"
                                             inlineStyle="font-size: 10pt;" />
                                        <af:objectSpacer width="10" height="20" />
                                   </afh:cellFormat>
                                   <afh:cellFormat>
                                        <af:inputText id="login" columns="10"
                                             value="#{customerSearch.customerIdentifierLogin}"
                                             disabled="#{!customerSearch.fieldSelected}" />
                                   </afh:cellFormat>
                                   <afh:cellFormat>
                                        <af:selectBooleanRadio group="RadioButtons" id="select_login"
                                             onclick="" />
                                   </afh:cellFormat>
                              </afh:rowLayout>
                         </afh:tableLayout>
                         <af:objectSpacer width="20" height="20" />
                         <af:panelHorizontal>
                              <af:commandButton text="#{bundle.cust_search_cmdbutton}"
                                   action="#{customerSearch.searchAction}" id="submit"
                                   disabled="#{!customerSearch.fieldSelected}" />
                              <af:objectSpacer width="20" height="20" />
                              <af:commandButton
                                   text="#{bundle.cust_search_default_account_cmdbutton}"
                                   action="#{customerSearch.SearchDefaultAccountAction}"
                                   id="submitaccount" disabled="#{!customerSearch.fieldSelected}" />
                              <af:objectSpacer width="20" height="20" />
                              <af:commandButton text="#{bundle.cust_search_rstbutton}"
                                   action="#{customerSearch.resetAction}" id="reset" />
                         </af:panelHorizontal>
                         <af:objectSpacer width="100" height="20" />
                    </af:panelForm>
               </af:form>
and there is my javascript code of the selectBooleanRadio event on click for to enable the submit button :
var element_submit=document.getElementById("submit");
          element_submit.disabled=false;
the the result is that it is not work good, the submit button is not enabled when i click on the selectBooleanRadio
Please help me to have a solution

I do not think you will be able to adjust the Master page size as it is tied to the Content Area size as well. I tried to adjust the pageisze and the content size but it was ignored. I can get at the properties to change them but that is it.

Similar Messages

  • Problem with links in deployed ADF application to Weblogic Server 11g

    Hi everyone !
    I have a query here, firstly, I have created an ADF application using Jdeveloper 11g and have successfully deployed (EAR file) onto the weblogic server.
    However, after testing out the application, the linking within the application does not seem to work. Whenever I click on a link or button, the page refreshes but the result is not displayed.
    What could have cause the problem?
    Thanks
    Gavin

    Are the ADF runtime libraries installed into the WebLogic server?

  • Problem with enabling Web Services on LaserJet Pro MFP M127fw

    12:25 AM    
    I have a problem with enabling the HP Web Services. When I push the application button on the printer, the monitor shows "connecting..." and then nothing is happen or an error apear thet my device could not connect to servers. I can't print information sheet on web services panel to get the claim code and add my device in www.hpconnected.com .  My device is connected to the internet with no problem by a wireless  Dlink Router. I also changed my device IP  from 192.168.1.11 to 192.168.1.55 manually,  and I change Preferred DNS Address to 8.8.8.8 and Alternate DNS Address to 8.8.4.4 and nothings happen.   I can see the menu but I can not enable the HP Web Services in there. no proxy. no firewall.  I do not know what can I do for solveing this problem. Please help me. 

    Hi @AlirezaP
    Welcome to the HP Support Forums. I gather that you are getting a connection error message when trying to enable the web services for your Laserjet Pro M172fw printer.
    As you have already tried setting the manual IP address and manual DNS servers, please call HP’s Cloud Services at 1-855-785-2777 if you live in the USA/Canada region. If you live outside the USA/Canada region please click here to find the Technical Support number for your country/region.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • ADF Buttons not appearing correctly

    I've tried researching this problem and from what I've found it has said if we are using JDK version 1.4 and headless = true then we shouldn't have this problem. When running our application some of our ADF buttons will appear correctly and others will not.
    When I look in our
    application-deployments/../temp/adf/images/cache/en/
    directory I can see the images of the buttons that appear correctly, but if I navigate to another page with different buttons I would then expect to see those images being creating in that folder but there are not. If anyone has any insight on this problem it would be a big help. Thanks.

    Nothing leaps to mind that affected downloadable fonts in Firefox 34... but there are hundreds of changes in each version so I can't rule it out.
    Just to go back to basics for a moment...
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?

  • Problem in enabling the selection screen

    Hi ,
    I have problem in enabling the selection screen.
    i have radio button and based on the radio button i need to make the date field as mandatory.
    When i tried this with at selection screen on radio button group XXX, itu2019s not triggering.
    Could you please help me by resolving the above problem?
    Vijay

    Hi,
    see the sap documentation
    ... RADIOBUTTON GROUP group [USER-COMMAND fcode]
    Effect:
    This addition specifies that the input field is displayed as a radio button in the first position on the selection screen, and the output field is displayed next to it on the right. The radio button is selected if the value of para is "X" or "x". Otherwise, it is not selected.
    group is used to define the radio button group for the parameter. The name group is entered directly as a character string with a maximum of 4 characters. Within a selection screen, there must be a minimum of two parameters in the same radio button group. There cannot be more than one radio button group with the same name in one program, even if they are defined in different selection screens.
    The parameter must be specified with the type c and length 1. Explicit length specification using len is not permitted. If the addition TYPE is used, it can only be followed by the generic type c or a non-generic data type of type
    In a radio button group, only one parameter can be defined with the addition DEFAULT, and the specified value must be "X". By default, the first parameter in a radio button group is set to the value "X", and the rest are set to " ".
    The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields. If a function code used in the GUI status of the selection screen is specified for fcode, the selection screen processing is affected accordingly.
    Note:
    It is recommended to define the radio buttons of a radio button group directly underneath each other. If the selection screen also contains other elements, it is recommended to define each radio button group within a block surrounded by a frame.
    Regards,
    Venkatesh

  • Enabling/Disabling of stop button for Tomcat in MyEclipse in Run mode.

    Hi,
    I am very perplexed by the behavior of the Server option in MyEclipse 4.1.1 over Eclipse 3.1.2 using Tomcat 5.5.17.
    When I start the server in Debug mode, the behavior is just fine. i.e. the stop button/option gets enabled and the Start button/option gets disabled when I start the Tomcat server.
    But in the Run mode, the Start option does not get disabled and the Stop option does not get enabled when I start the server, so I have to guess/rely on the console to see if an instance is already running.
    If anyone is having the same issue/behavior, and did something to correct it, please respond or point me in the right direction.
    I have already:
    1) Downloaded a new instance of both Eclipse and MyEclipse
    2) Created the whole workspace again after deleting the .metadata
    3) Tomcat is a part of our configuration management software so everyone uses the same version.
    Edited by: nimraj on Apr 3, 2008 7:17 AM

    Hi Sumit,
    just add one more attribute of type wdy_boolean, and bind this attribute to readonly property of button by coding.
    then as per your cell value set the attribute value, below is the some sample code.
    METHOD wddoinit .
      DATA: lv_node TYPE REF TO if_wd_context_node,
            lt_mara TYPE ig_componentcontroller=>elements_mara,
            wa_mara TYPE ig_componentcontroller=>element_mara.
      SELECT matnr
             ersda
             ernam
             mtart
             matkl
             meins FROM mara INTO CORRESPONDING FIELDS OF TABLE lt_mara
                                     WHERE meins = 'GM' OR meins = 'CCM'.
      SORT lt_mara BY meins.
      lv_node = wd_context->get_child_node( name = wd_this->wdctx_mara ).
      LOOP AT lt_mara INTO wa_mara.
        IF wa_mara-meins = 'GM'.
          wa_mara-readonly = 'X'.
        ELSE.
          wa_mara-readonly = ' '.
        ENDIF.
        MODIFY lt_mara FROM wa_mara TRANSPORTING readonly.
        lv_node->bind_structure(  SET_INITIAL_ELEMENTS = ABAP_FALSE
                                  new_item = wa_mara ).
      ENDLOOP.
      lv_node->bind_table( new_items = lt_mara ).
    ENDMETHOD.
    Regards
    Srinivas

  • How to enable /disable a command Button based on a table's selectOne choice

    Hi everyone.
    I am using JDeveloper 10.1.3.3 and wish to enable / disable a commandButton based on the user's selection of the selectOne radio button.
    The idea is that a row of a table may have an associated document so I want to enable or disable the button that downloads it based n the current row selected.
    I have followed the advice on problem with table I defined my selectOne component as follows :
    <af:tableSelectOne text="#{res['tables.selectionFacet.title']}"
        autoSubmit="true"
        attributeChangeListener="#{backing_browseCVs.onSelectionChange}">The function inside the backing bean looks like this
        public void onSelectionChange(AttributeChangeEvent attributeChangeEvent)
            // access the faces context
            FacesContext fc = FacesContext.getCurrentInstance();
            // get value of the expression #{row.hasCVDocument} that indicates
            // if a document has been added
            ValueBinding vb =
                fc.getApplication().createValueBinding("#{row.hasCVDocument}");
            Boolean hasDoc = (Boolean)vb.getValue(fc);
            // enable the doownload button accordingly
            downloadCVDocBtn.setDisabled(!hasDoc);
        }My problem is that the method never fires. I have placed a breakpoint at the first line but it is never reached.
    Any advice will be most welcome.
    Thanassis

    Hi,
    You might need to add 'dataProvider' part in the expression language in your selectionListener:
    #{bindings.CVList.currentRow.[b]dataProvider.hasCVDocument}
    #{bindings.CVList.currentRow} returns an instance of ViewRowImpl which does not have 'getHasCVDocument()' method, but does have:
    Object getCurrentRow()
    method, which returns objects from your CVList list, which do have getHasCVDocument() method...
    Expression language is resolved through reflection, so when you write:
    #{processScope.someClass.someReferencedClass.someAttribute} it is something like:
    Get someClass from processScope map, then:
    someClass.getSomeReferencedClass().getSomeAttribute()
    It's a bit more complex but you get the idea.
    Vladimir

  • Enabling and disabling the button in the multi record block

    hi all,
    i am using
    Forms [32 Bit] Version 6.0.8.24.1 (Production)
    Oracle Database 10g Release 10.2.0.1.0 - Production
    i have a multi record block each block contains a button(button is to approve the record in terms of changing the status)
    i have the items like date,remarks and button
    the button should be enabled if the remarks is not null otherwise it should be disabled.
    for this in pre-record trigger i have written
    if :record is null then
       set_item_property('button',enabled,property_false);
    else
          set_item_property('button',enabled,property_false);
    end if;what problem is enable and disable is impacting on all the buttons in the block. in other words if first record's remarks is null then all the records button is disabled. if first record's remarks column is not null then all the records of the button column is enabled.
    i have to make enable and disable the button for the corresponding record.that means if first record's remarks column is not null then only first records button should be enabled others should be disabled.
    Thanks..

    You need to set the No. of items displayed to 1 as Ammad had said, additionally you can set the X and Y Position (Just Y will do and having fixed X) of the button depending upon the current record.
    can u explain this part alone bit more (setting the position of x and y)You need to calculate the variable Y_POS depending upon the current position of the cursor that is the current record.
    You can find the current record Y_POS using combination of
    V_CURRENT_RECORD := :SYSTEM.CURSOR_RECORD;
    V_TOP_RECORD := GET_BLOCK_PROPERTY ('BLOCK_NAME', TOP_RECORD);
    V_ITEM_Y_POS := GET_ITEM_PROPERTY ('ITEM_NAME', Y_POS);
    -- Also needs to add the Y_POS of the relative other items in the muti-record block
    V_HEIGHT := GET_ITEM_PROPERTY ('BUTTON_NAME', HEIGHT);
    -- Note :- TOP_RECORD  Returns the record number of the topmost visible record in the given block.
    V_Y_POS := V_ITEM_Y_POS + ((V_CURRENT_RECORD - V_TOP_RECORD) * V_HEIGHT);
    -- You will need to add Distance between Items in records if anyThen you can Set the current Y_POS of the button.
    SET_ITEM_PROPERTY ('BUTTON_NAME', Y_POS, V_Y_POS);
    [/code[
    Hope this helps
    Best Regards
    Arif Khadas
    Edited by: Arif Khadas on Feb 24, 2011 4:58 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ADF Buttons Handling

    Hi,
    I have an ADF table displayed on my page and 3 buttons (ADD,REMOVE and SUBMIT) associated to this table. I would like to enable the SUBMIT button only when there is a new record added to the table. For eg: If i add 2 records and removed 2 records, i dont want the SUBMIT button to be enabled.
    ** my ADF table is based on an XSD not on the ADF BC.
    How can i achieve this?
    Thanks,
    Lakshmi.

    Lakshmi,
    Check if the app module is dirty and enable / disable the button accordingly.
    Ref : is record changed in ADF BC.
    -Arun

  • APEX_ITEM.TEXT and solution for enabling and dispabling a button

    Hi All,
    Please let me know how can we have a format mask for an Item created using apex_item.text.
    I would like to add a Number format mask with three decimals in this report column
    APEX_ITEM.TEXT (2, INV_VALUE, 15, 20, 'readonly=readonly style=""')
    Also do let me know the following points based on the followup to this link:
    Use of Checkbox in Report for calculation and determine checked records
    1. How can I enable or disable a button based on value of a Page Item being > 0, this also should be done when a check box is checked or unchecked.
    2. One more clarification about adding the total depending upon check box checked or unchecked.
    On checking and un-checking the total gets added and subtracted as required, but I have noticed that the the session values of the Item for Total is not as the one displayed. Why is it so. Please guide.
    Thanks & regards
    Arif Khadas

    Hi Vee,
    Thanks for the reply.
    document.getElementById(...)' is null or not an objectCheck if the button is rendered with id="PAY_DUES"+ or not. You can view the HTML source code of the button and see if it has such an id or not. The source code is as follows:
    <a href="javascript:popUp2('f?p=1002:23:3713834878987986::NO::P23_INVOICES,P23_RCP_AMOUNT_PAID:,0', 320, 450)" class="t20Button">Pay Dues</a>
    Else add an id attribute to the button in button attributes(ensure that you have the BUTTON_ATTRIBUTES substitution string used in the button template)Template of button is as follows and the Substitution String #BUTTON_ATTRIBUTES# is not Referenced.
    <a href="#LINK#" class="t20Button">#LABEL#</a>
    but I have noticed that the the session values of the Item for Total is not as the one displayedThe session value of the item is usually set when you submit the page or use an ajax process/ Dynamic Action to set it. If you this is required , set the item's session state calling a dummy/null ondemand process or a dummy PLSQL dynamic Action using the item name in the "List of items to Submit" field.This issue is resolved for me in other thread.
    Thanks & Regards
    Arif Khadas

  • I have the problem with the eFax Create Account button being grayed out for my newly purchased 6525.

    I have the problem with the eFax Create Account button being grayed out for my newly purchased 6525.
    Can you help?

    Hi Marv13, disregard my last post. The 6520 does have eFax capabilities and the support document I provided a link to needs updating. If you contact HP Cloud Services phone support they will be able to resolve this issue for you. The number and available times are posted below:
    HP Cloud Services
    1-855-785-2777
    Hours of Operation
    Monday-Friday 8am-11pm ET
    Saturday 10am-6:30pm ET
    Best.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Having problem to enable my wifi setting from few days can any 1 help me???????????

    having problem to enable my wifi setting from few days can any 1 help me???????????

    Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
    This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.

  • Problem about enabling GL Drawing.Any help,please?

    Installed PhotoshopCS5 trial on laptop Vaio , XP Pro, service pack 3.
    When setting preferences found that in Performance window, section GPU is dimmed and can not activate Enable GL Drawing .
    The message in Description area is that Graphics hardware is not available and I need to upgrade video driver, possibly card.
    Did try to find what video card is present in the laptop but the  only info  found in Search is that DirectX is installed plus number of files with odd names (I am not a techie).
    So, I have no idea what video card is installed and what needs to be updated…
    Is there any solution  to this problem about enabling GL Drawing and what is it?
    My trial time is running out and any simple to understand advise is appreciated!
    Thanks in advance!
    Gloria

    Zeno is probably right in that your igp is too weak to support openGL, but if such is not the case, have a read here: http://kb2.adobe.com/cps/406/kb406921.html

  • Is sql functions or trigger possible for adf button component

    while developing project using ADF BC and JSF, is possible to invoke sql functions or trigger for an adf button component. plz reply

    For this you define a method in the application module which you expose to the client. Then you can drag this method onto the button. The method is call when you click the button.
    Inside the method you can call pl/sql functions. Read chapter "37.5 Invoking Stored Procedures and Functions" here http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcadvgen.htm#sm0297
    Timo

  • Problem in enabling constraint - after disabling and truncation of table .

    Hello Friends,
    I have a table called DRR_TABLES that has list of table names . The requirement is to truncate the tables present in DRR_TABLES except KEY_IDS table and table_name like '%TYPE%' table.
    written a procedure . successfullly truncating the tables from DRR_TABLES but while enabling constraints after truncation , I am getting problem in enabling constraints .
    ERROR at line 1:
    ORA-02270: no matching unique or primary key for this column-list
    ORA-06512: at "schema123.TRUNCATE_DRR_TABLES ", line 49
    ORA-06512: at line 1
    Heres is the code .
    PROCEDURE TRUNCATE_DRR_TABLES is
    x varchar2(200);
    v_tablecount number := 0;
    cursor c is select TABLE_NAME from DRR_TABLES where population_source='PUBLISHING' and TABLE_NAME != 'KEY_IDS' and TABLE_NAME NOT LIKE '%TYPE%';
    BEGIN
    DBMS_OUTPUT.PUT_LINE (' TRUNCATING DRR TABLES ...........');
    OPEN c ;
    LOOP
    FETCH c INTO x ;
    EXIT WHEN c%NOTFOUND;
    for c1 in (select table_name, constraint_name from user_constraints where TABLE_NAME = x and status ='ENABLED' ORDER BY CONSTRAINT_TYPE DESC )
    loop
    begin
    execute immediate ('alter table '||c1.table_name||' disable constraint '||c1.constraint_name|| ' cascade');
    NULL;
    end;
    end loop;
    EXECUTE IMMEDIATE 'TRUNCATE TABLE ' || x ;
    v_tablecount := v_tablecount + 1 ;
    DBMS_OUTPUT.PUT_LINE('TABLE TRUNCATED :'|| x );
    END LOOP ;
    DBMS_OUTPUT.PUT_LINE (' TOTAL TABLES TRUNCATED ' || v_tablecount );
    CLOSE c;
    OPEN c ;
    LOOP
    FETCH c INTO x ;
    EXIT WHEN c%NOTFOUND;
    for c2 in (select table_name, constraint_name from user_constraints where TABLE_NAME = x and status = 'DISABLED' ORDER BY CONSTRAINT_TYPE)
    loop
    begin
    execute immediate ('alter table '||c2.table_name||' enable constraint '||c2.constraint_name);
    NULL;
    end;
    end loop;
    END LOOP ;
    CLOSE c ;
    END TRUNCATE_DRR_TABLES ;
    LINE 49 is the line corresponding to enable constraint statement.
    Edited by: kumar73 on 3 Sep, 2012 11:44 PM

    It is such a pity that a user having 321 posts till date is unaware of basics of Posting a Question.
    1. You need to provide us with your Oracle version
    select * from v$version;2. You need to understand and get accustomed to using tags before and after Code or SQL's for better readability.
    3. You need to provide us with the Table Structure and the Constraints Definition.
    There are many things that looks like Bad Coding practices:
    <font face="Times New Roman" size=2>
    1. Avoid RBAR (Loops).
    2. Implement Bulk Collect.
    3. Why do you need to disable the constraints before truncating? Are you kind of handling the Referential Integrity Constraints?
    4. Duplicate checking of Disabled Constraints.
    5. When the procedure is being executed at Production Environment, are you going to Monitor the DBMS_OUTPUT? Why not Log the Statements into a LOG Table?
    6. Why use a TableCount variable? Would the TableCount Variable be not equal to the Number of Records returned by Cursor C?
    7. What is the need to use a NULL statement after every Execute Immediate?
    8. What is the Need to surround each execute Immediate with Begin .. End block?
    9. Where is your Exception handling Block? Forgot to write?
    </font>
    What has been your effort in finding which Constraint/Table is causing you the trouble?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for