Which block get effected by save and execute query

Hello,
I'm using forms 9i , database oracle 9i.
Case:
i made a simple application with 4 stack canvas on each i place data from 4 tables. convention is like every stack canvas get visible when the corresponding button is pressed. once visible i don't set it to invisible i just place other stack canvas over it.
Although i don't get any error or problem while doing normal work like saving records or Executing query. but i don't understand whether these operation only effect the table which is visible(on stack canvas). and rest of are unaffected.
if No then how i can do it with only on visible canvas
and if yes is there any way that i can do execute query on all of them.
thanks
Rahul.

The SAVE (COMMIT_FORM or COMMIT) will affect the whole form if you are using simple blocks based on tables, every block that does have changed or new data it will saved in the database.
The EXECUTE_QUERY will affect only the current block, the block where the cursor is in currently. If this block is a master block then the EXECUTE_QUERY on the master block will also affect the detail block.
If it's a standalone (not a master) block, the EXECUTE_QUERY will only affect the block your cursor is in.
Tony

Similar Messages

  • How to implement enter and execute query in ADF

    I am new to ADF and I am trying to create a simple data entry screen in ADF 11g based on a database table. I am looking to implement the equivalent of the Enter Query and Execute Query feature in Oracle Forms. I tried the default operations that are available with the data controls. But they don't seem to have this feature. Can someone help me / point me to how this can be implemented.
    Thanks,
    Srini.

    Thanks Shay. As per your suggestion I have included the Find and Execute buttons for the VO Object and ran the page. I first clicked the Find button and entered by query condition and then clicked the Execute button. At this point I get an error popup asking me to enter values for all the mandatory fields. Am I missing something?
    Regards,
    Srini.

  • Enter and execute query in ADF

    Hi Experts,
    I am trying to implement Enter-Query/Execute-Query in adf and using Jdev 11.1.2.2.0. I put Find and execute operation on the form. When i press execute button i says me to enter value for mandatory fields. But i am try to execute query not trying to create or update records. In forms we can query on any attribute.
    Please guide
    Thanks

    Enter and execute query in Oracle Forms starts with a simple row by row form for updating a table. When you press the "Enter Query" button, the form clears and the user can enter query by example criteria for any of the fields on the form. Then the user presses the "Execute Query" button, and is back in the update form, but with the data for the first matching row shown.
    Here is a page with some links to articles by Steve Muench that explains some ways to implement this in ADF 10.1.3 - I think these techniques should still work in ADF 11g:
    http://radio-weblogs.com/0118231/2006/02/13.html#a658
    Another way with ADF 11g might be to put an af:query component in one facet of an af:switcher and the update form in the other facet. The Enter Query button on the update form tells the switcher to switch to the query facet, and executing the query also tells the switcher to switch back to the update form.

  • Can user be blocked from doing File/save to existing query?

    Hi Everyone,
    Hope all is well...
    It's a long story... I was wondering if a user can limited to just doing a File/Saveas and blocked from doing
    a File/Save (updating query in place)
    your ideas and advice are appreciated, tx, sandra

    Hi,
    There is no supported way of doing this. However, you can add a database trigger to the EUL5_DOCUMENTS table that will raise an error if the use attempts to update the document.
    Rod West

  • What role is required to open and execute query in BE query designer

    Hi,
    Am new to BE, need to know what role should i be assigned with to open and execute  a query in query designer.
    OPEN dialobox displays "NO role availabe".
    Is this a problem of role assignment or am i missing some steps
    thanks
    srikanth

    IN Enterprise portal plz check whether these roles are present or not.
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/Roles/com.sap.ip.bi.business_explorer_showcase
    pcd:portal_content/com.sap.gm.cnt/core/VCRole
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/Roles/com.sap.ip.bi.bi_showcase
    pcd:portal_content/administrator/content_admin/content_admin_role
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/Roles/com.sap.ip.bi.business_planning_showcase
    pcd:portal_content/every_user/general/eu_role
    in BW front end , you have to create role with the auth objects S_RS_COMP, S_RS_COMP1, S_RS_MPRO, S_RS_ICUBE auth objects.
    include the t-codes if necessary. RSRT you can include.
    Hope this would help you.

  • How get effect to start and stop at certain times in a layer

    i knoe this is so simple but the solution escapes me. thanks in advance

    burn1down wrote:
    thanks for the reply.
    this is only my second day using the product, so i need a bit more info.
    here is what i am trying to do.  I have a image, and 5 seconds into showing that image i want to apply the shatter effect.  When i select the shatter effect and drag it over to the image i have placed in the composition the effect gets rendered but it starts getting applied at the 1st second of the composition.
    i have attempted to set key frames and then drag over the effect with no luck. I dont see any 'time' properties in the effect so i can tell it when to run.
    thanks
    Oooh... You're all watching too many of Andrew's tutorials and always pick the most complicated and fancy ones. I've answered this one last week or so here: http://forums.adobe.com/thread/464655?tstart=30, so check there. If you need more specific help, just ask again.
    Mylenium

  • What is a 403 Forbidden error message which I get on firefox, safari and chrome. I don't know if it is the website or something with my mac though everything else works fine.

    When trying to log in to crossstitch.com I get this message:
    You don't have permission to access /index.php on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    Apache mod_fcgid/2.3.6 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.crossstitchforum.com Port 80
    I googled the error message and don't really understand what it means.
    I don't know if it is the website or something else. I am not sure where to check and I don't know how to get in touch with the webmaster. If anyone can help I would appreciate it.

    If it is a Firefox add-on, you may be able to disable or remove it here:
    new Firefox button > Add-ons > Extensions
    or
    classic Tools menu > Add-ons > Extensions

  • Problem in enter-query and execute-query in TEMPLATE.fmb in Oracle Apps R11

    I have created the form using TEMPLATE.fmb in Oracle Apps R11i. There is 2 problems listed below when it queries the records:-
    1) Cannot query the record by the specific value e.g. Cannot retrieve the PO records by entering the specific PO number.
    2) Always display the message 'Do you want to save the record?' whenever the <ENTER-QUERY> key (i.e. F11) is pressed.
    HOWEVER, it works fine for ALL records without entering any specific values.
    Does anybody help to solve these two problems? Any hints? Thanks for any helps.

    try setting the block status to query or record
    status to new prior to getting in the enter-query
    mode.
    Thanks
    TapashHi Tapash, Dun understand.. please give more details.. Thanks.

  • Call form and execute query there

    hi
    i have already one form and i created another form with one text-item named Code(non-base item) and i want when i enter number and click on button and it execute all records in main form with the same code which one i enter in sub form.is it possible if its possible plz guide me thanks in advance
    sarah

    Hi!
    From the main form call the sub form with the call_form build-in like this:
    begin
    default_value ( null, 'global.code );
    call_form ( 'sub_form', no_hide, no_replace, no_query_only );
    if
      :global.code is not null
    then
      go_block ( 'your_block' );
      set_block_property ( :system.cursor_block, onetime_where, 'code = :global.code' );
    end if;
    erase ( 'global.code' );
    go_item ( :system.trigger_item );
    end;In the sub form write to your when-button-pressed trigger:
    begin
    :global.code := :your_block.code;
    exit_form ( no_validate );
    end;Hope that helps
    Edited by: Magoo on 30.08.2009 17:46
    Edited by: Magoo on 30.08.2009 17:59

  • Execute (Quit and Execute Query) button not showing up ...

    Hi Gurus,
    I recently installed SAPGUI on a different laptop which never had before.Everythng was fine but when I open BEx and start a new query, I do not see the green circle with check mark on it. This button is used to execute the query.
    I did uninstall and re-install it, but it never helped. Please help ASAP. I will assign points.
    Rgds,

    Hi Matt,
    It could be that the image has gone missing from the server. In a region's Region Header or Region Footer, add in:
    &lt;img src="#IMAGE_PREFIX#themes/theme_3/button_xp_center_FFFFFF.gif" alt="" width="4" height="24" /&gt;Do you see the image?
    #LINK# is created from the button name, usually as: doSubmit('BUTTONNAME'). #LABEL# is the label you have set for the button. Neither should affect the image display as that is actually part of the TD tag itself.
    Andy

  • Call form and execute query

    Hi All
    i have two forms one form is sale_order and other is order tracker what i want when i press the button
    sale order cotains information about the every sale with a unique ID
    and order tracker contains list of all orders i want a button on order tracker when-button pressed then open the sale_order and execte the sale_order as the id is selected in order tracker
    Thanks And Regards
    Vikas Singhal

    Hi My code is
    in order tracker i wrote this code
    :global.my_id := 'id';
    open_form('c:\test_report\sale_order');
    execute_query;
    the sale order form is opened but not execute the sale_order in order_tracker is id=111
    in sale order where what should i do please guide where i do the id=global.id
    Thanks And regards
    Vikas Singhal
    Edited by: vikas singhal on Jun 23, 2009 11:07 PM

  • How to set the bind variable on page load and execute query ?

    Hi All,
    I am using Jdeveloper 11.1.1.5
    I have a table called "Employee"
    Columns :- id , name , location
    Data :- 1, ,james , chicago
    2 ,Raj ,capetown
    Now i have another webservice(created as a webservice dataControl) which sends me the "id" on each time my page loads.Now the id which has been returned by webservice should be incorporated in my VO Query as in where clause to fetch the data for the respective "id" in that "Employee" table and should be rendered on form.
    Eg :- Id "2" has been sent by the webservice then the record should be fetched from database should be "2","raj","capetown".
    I know that there would be necessity of bind variable , but how do i set the bind variable on page load ?
    How can i use the bind variable appropriately ??
    Please suggest !!!!
    Thanks.

    Hi,
    Check
    http://www.orastudy.com/oradoc/selfstu/fusion/web.1111/b31974/web_services.htm#CJADCDBG
    http://thepeninsulasedge.com/frank_nimphius/2011/02/18/adf-code-corner-sample-73-released-hands-on-creating-a-search-form-using-a-pojo-ws-and-the-web-service-data-control/
    -Suresh

  • F11(Query mode) and Execute Query in Oracle Forms

    Hi Experts,
    I am working with EBS11.5.10.2 and database 9i. I am working on forms, i am new to forms.
    Could somebody help me how to achieve F11(query mode) functionality in APPS forms.
    Thanks in advance.

    Hello,
    Wrong forum. Ask the Personalization question in the dedicated E-Business Suite forum.
    Francois

  • Generate and execute query dynamically ?

    Hi Steve,
    i repeate my question, can you help me ?
    Can you show into my previous message "Last Post from March 15, 2000 02:27PM Syntax problem ...."
    Many thanks for your help !
    Achim

    Hi Steve,
    many thanks for your answer.
    Please forgive me for my penetrante question.
    Your answer is not solving my problem. I want to create many SQL-query-blocks with your XSQL-processor combined with a stylesheet (however!). I want insert the result of this SQL-creation framework into a normal XSQL-servlet using the <xsql:include-xsql reparse=yes> statement.
    What must I do, that this generated, included XSQL-queries would be excecuted in your engine ?
    <MyPage xmlns:xsql="urn:oracle-xsql">
    <xsql:query>SELECT...... </xsql:query>
    <xsql:query>SELECT...... </xsql:query>
    <xsql:query>SELECT...... </xsql:query>
    </MyPage>
    I want to realize the reactor pattern like in COCOON.
    Many thanks for your help.
    Achim
    Example:
    <!--?xml-stylesheet type="text/xsl" href="test.xsl"?-->
    <page connection="conToDB" xmlns:xsql="urn:oracle-xsql">
    <xsql:query>
    select SYSDATE from DUAL
    </xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select min(mnr) from [email protected])</xsql:query>
    <xsql:include-xsql href="ViewOrgVersuche.xsql" reparse="yes" />
    </page>
    Result:
    <?xml version="1.0" ?>
    - <!-- ?xml-stylesheet type="text/xsl" href="test.xsl"?
    -->
    - <page>
    - <ROWSET>
    - <ROW num="1">
    <SYSDATE>2000-03-21 13:27:40.0</SYSDATE>
    </ROW>
    </ROWSET>
    - <ROWSET>
    - <ROW num="1">
    <MTIME>1997-07-23 15:49:12.0</MTIME>
    <MNR>1</MNR>
    </ROW>
    </ROWSET>
    - <MyPage xmlns:xsql="urn:oracle-xsql">
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select min(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select max(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select min(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select max(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select min(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select max(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select min(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select max(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select min(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select max(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select min(mnr) from [email protected])</xsql:query>
    <xsql:query>SELECT mtime,mnr FROM [email protected] where mnr= ( select max(mnr) from [email protected])</xsql:query>
    </MyPage>
    </page>
    null

  • Quick Sales Order Form Enter Query(F11) and Execute Query(Clt+F11) Problem

    Hi Everyone,
    I am having a Problem in Quick Sales Order Form. When I am entering a New Sales Order and Book the Order it is working fine. And Now I want to Query the Sales Order If the Same New Order Number has Queried then It is Properly Queried. But If I am trying to Query Some Other Existing Sales Order other than the new one then It Shows the Error Messgae as Query Caused No Records to be Retrived. We have R12 12.1 Instance.
    Can anyone Helpme in Solving this Issue will be highly appriciable.
    Advance Thanks for your Efforts.
    Regards,
    Murugan. AR.

    Was this working before? If yes, any changes have been done recently?
    Have you tried to regenerate the form via adadmin and see if it helps?
    Do you have any invalid objects in the database?
    You may try to obtain the FRD log file and see if more details about the issue are collected in the logs.
    Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications
    Note: 445166.1 - How to create a FRD (Forms Runtime Diagnostic) Log in EBusiness Suite R12 using Forms 10g
    Thanks,
    Hussein

Maybe you are looking for

  • Error (14) and (9) during iPod Touch Restore process

    I am getting the following error when trying to restore my iPod Touch in iTunes: "The iPod, "iPod" could not be restored. An unknown error occurred (14)."  Sometimes I also get error code (9) as well. I have the latest version of iTunes and have trie

  • How to get mail accounts in all profiles?

    Hi, I setup 4 users in my imac, one for each family member. I setup the email accounts under my profile and when my wife logs in, the mail prog wants her to go thru the same process again. How do I copy the mail accounts from under my profile to all

  • Bug in radix-tree.c causes kernel panic

    Hi, I've got a server that has been running Arch Linux for couple of weeks without any major problems. Kernel version is 2.6.18. Unfortunately I can't get a dmesg from the server, as it's crashed at the moment... Today the server started having weird

  • Displaying percentages on pie chart

    hi All, I am displaying a pie chart to show some data based on some calculations. Its a simple 2-D pie chart. I want to be able to display the percentage on the different parts of the pie chart. I tried using the label property of the series as well

  • My Ipads screen is completly frozen, and apple does not want to help me fixing it

    I have tried everything possible, the anser from apple is gthat his device was made 5 years ago. I was using the App, REAL RACING 3, and suddenly it Blocked the whole Ipad. <Edited by Host>