Delete from Table on the Cancel button.

Hello

I am facing problem funny.

I created the form with the report page and I have option to implement send e-mail on the Page so I am attaching a document more with email.if I attach document then it goes into the DUMY_DOC_FILE table.

I create a process
 

delete from DUMY_DOC_FILE .

Process Point IS ON Submit -After Conmputation and Validation 


On Page No 6.
If I press the button Cancel Button.This is redirecting on page no. 4. not my Code on Page 6.
page is redirect to 4 but the doc don't delete Table of DUMY_DOC_FILE.

How to remove Doc from Table if I press the Cancel button.

Thank you

Published by: 805629 on January 13, 2011 05:25

Published by: 805629 on January 13, 2011 23:49

Published by: 805629 on January 14, 2011 12:43 AM

This conditional validation_, so that it does not cancel send button (for example: *: ASK! = 'NAME of the BUTTON' *)

Tags: Database

Similar Questions

  • Re: Font book. I chose "restore standard fonts" by mistake. How to get back on my choice. The Cancel button is grayed out so I can't cancel it. Any suggestions? Thank you!

    Re: Font book.

    I chose "restore standard fonts" by mistake. How to get back on my selection. The Cancel button is grayed out so I can't cancel it. Any suggestions? Thanks in advance!

    If you click on 'Restore the standard fonts', fonts that are not included in the OS X systems is placed in a "fonts folder (deleted) next to the fonts folder.

    / Library/Fonts

  • How to keep the control on the same line after clicking the Cancel button

    Hello

    I use JDev 11.1.2.4.

    I have a search in a table (form A) that has a link to change another form (form B).

    Form B have two save and Cancel buttons with Commit and Rollback actions.

    Action on the Undo button is

    ADFUtils.findOperation("Rollback").execute ();

    Question: Suppose I'm at rank 3 on the form and click on the link to call the B form. Now, when I make some changes to the form B and press the Cancel button, the control returns to the row 1. I want to keep the control on line 3.

    any ideas?

    Thank you

    What do you mean by form? is this page?

    Is the form B and form A in the same page or diferrent?

    If the 2 form in diferrent pages you can add parent the iterator in the pageDef. of the child page

    To add iterator the pageDef parent. child follow this:

    1 - Open pageDef. of the child.

    2 - press executable section

    3. in the Insert item dialog box select 'Iterator' and then 'Ok '.

    4. you will find the DataControl extend above then select the Master iterator, then press 'Ok '.

  • Disable Validation on the Cancel button

    Hi guys,.

    I use jdev version is 11.1.1.5.0.I have done a validation custom for my Palm/editable grid table which i m, saving data on the button, click Save. Validation works perfectly except when I click on the button cancel next to my button 'save' his also validate grid table than i do ' t want to do.
    any suggestion how I can stop posting on the Cancel button.


    < af:table value = "#{bindings.ssku1.collectionModel}" var = 'row' "
    Rows = "#{Bindings.ssku1.rangeSize} '"
    emptyText = "#{bindings.ssku1.viewable?" "{'No data to display.': 'Access Denied.'}".
    fetchSize = "#{bindings.ssku1.rangeSize}" rowBandingInterval = '0' "
    selectionListener = "#{bindings.ssku1.collectionModel.makeCurrent} '"
    rowSelection = "single" id = 't3' columnStretching = 'last '.
    "partialTriggers =": cb20: cb50 "
    styleClass immediate = "AFStretchWidth" = "true" autoHeightRows = "8" >
    < af:column id = rowHeader "c54" = "true" align = "center" width = "100" >
    < af:commandButton text = 'Details' id = "cb10".
    actionListener = "#{jcbwb.jcbOrderRowSelect}" > < / af:commandButton >
    < / af:column >
    < af:column sortProperty = "ssku_size_1" sortable = "false".
    rendered = "#{gridDetailsBN.ssku_grid_col_1} '"
    headerText = "#{gridDetailsBN.ssku_grid_col_1_hdr}" id = "c44" > "
    < af:inputText value = "#{row.bindings.ssku_size_1.inputValue} '"
    label = "#{Bindings.ssku1.hints.ssku_size_1.label} '"
    required = "#{Bindings.ssku1.hints.ssku_size_1.Mandatory} '"
    Columns = "#{Bindings.ssku1.hints.ssku_size_1.DisplayWidth} '"
    maximumLength = "#{bindings.ssku1.hints.ssku_size_1.precision} '"
    shortDesc = "#{bindings.ssku1.hints.ssku_size_1.tooltip} '"
    disabled = "true" id = "nonpopupit61" >
    < f: validator binding="#{row.bindings.ssku_size_1.validator}"/ >
    < / af:inputText >
    < / af:inputText >
    < / af:column >
    < / af:table >

    Hello

    Set in the immediate to true on the Cancel button.

    Zitouni

  • Oracle 10g - problem with "DELETE from TABLE WHERE ID in (1,2,3)" (use cfqueryparam)

    Hello, everyone.

    I have problems with executing a DELETE statement on an Oracle 10 g server.

    DELETE 
    FROM tableA
    WHERE ID in (1,2,3)
    

    If there is only a single ID for the IN clause, it works.  But if more than one ID is provided, I get an error message "SQL command" not correctly completed.  Here's the query as CF:

    DELETE 
    FROM TRAINING
    WHERE userID = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#trim(form.userID)#">
         AND TRAINING_ID in <cfqueryparam value="#form.trainingIDs#" cfsqltype="CF_SQL_INTEGER" list="yes">
    

    Someone at - it works with Oracle that can help me with this?  I'm a developer experienced in MS - SQL; Oracle is new to me.

    Thank you

    ^_^

    So much worse... a colleague just told me I should always use parentheses around the values in the IN clause.

  • How to control the execution of a sequence of flat have the Cancel button

    Hello
    I have a question for you guys.
    Suppose I want to write a program to control a set of materials by sending commands via a serial port
    In fact, he calls a 'round '. Because a series of specific commands will send via a serial port at once specific time. What I call one a time Cycle.
    Between each send command steps there is a delay (waiting in range of Timing). The joint part of my VI.

    I was wondering how I can integrate a Cancel button which is able to act in any image of the flat sequence Structure?
    As you can see it is not everything in loops to have the best control of the program because I want to run commands in the series only once.
    Where to put the button 'Cancel' in frames?
    I want to show a confirmation message when the user clicked the Cancel button, and if the answer was 'YES' LabvIEW stops running flat sequence Structure and of the specific procedure to cancel (which is not included in above VI) takes place. Otherwise (by clicking 'NO') program continues to run...

    Note that home is just a simple version of what I intend to

    For example in some frames, it will be a while loop and so on...

    But there will be only on flat sequence at all

    Excuse me for my bad English

    Hi mostafi,.

    General answer: convert your flat sequence in a correct state machine States!

    Now, you can check your "Cancel" button after each State is treated...

  • How to cancel my subscription to Adobe? I am charged every month and I do not really use it enough to justify. I followed the instructions of tine for how to cancel at least, but it does not give me the "Cancel" button to click.

    I am charged every month and I do not really use it enough to justify. I followed the instructions of tine for how to cancel at least, but it does not give me the "Cancel" button to click.

    Cancel https://helpx.adobe.com/creative-cloud/help/cancel-membership.html

    -or https://helpx.adobe.com/contact.html?step=ZNA_account-payment-orders_stillNeedHelp

  • When you click on the Cancel button, avoid running query

    Hello

    I'm going to the jsff a page to another at the click of a button

    In the second page I go back to the 1st page when the Cancel button is clicked
    But when clicked on this button cancel my request get rerun and takes a long time to come back on the 1st page
    This is a read only vo interview... How can I avoid running query on a button click Cancel

    Thank you

    Real question is: "why is your query run when you press the Cancel button?
    If your application is already running on the first page, this should not happen unless you:
    -to perform an operation on the Cancel button that runs the query
    -changed "Refresh" of your iterator property
    -perform rollback

    Dario

  • AF:dialog - simpler to hide the Cancel button?

    Want to match some of what we have in a form application, and the dialog box is coming up closer than the panelWindow in terms of use, but I would like to be able to show just 1 button in the dialog for OK, rather than the 2 of them. I see the facet buttonBar on the component of the dialog box allows me to extend the buttons that are there, but I want to be able to hide the Cancel button. How this work normally/more-easily?

    Thank you.

    With the help of JDev 11.

    Button cancel any reasons to hide? What is the af:dialog type = "ok"? OR af:popup with a button?

  • Update the Table with the push button

    Hi I want to update my table using the push button that requires a transfer of account

    For example a single account transactions into 2nd account


    I used this query, but his does not work

    Update of cb
    Set cb_acc_id =: block3.acc_id_target
    where
    cb_acc_id =: block3.acc_id_source;



    Concerning

    Wasim Ismail

    You may forgot to validate your update...

    BTW:
    your form will not recognize, you start a transaction and make an update in the database.

  • How to delete all TABLEs in the schema SYS that are created from 09:15?

    Unfortunately a script created a lot of tables in the diagram (= SYS) and bad Tablespace (= SYSTEM).

    How can I delete all TABLES that are created inTablespace = SYSTEM and SCHEMA = SYS (in a DDL command)
    respectively for the past 3 hours from 09:15 to 25 Sep 2011?

    Alternative: How can I move these tables in another schema (for example ATEST) and Tablespace (USERS)?
    Is this possible with Oracle XE or Oracle Enterprise?

    Peter

    You can use ALTER TABLE... MOVE. It offers a TABLESPACE clause, which allows you to choose a different tablespace as target. Refer to the documentation for your version of the database.

  • Remove line of af: from table of the VO readonly

    Hello

    I have an af:table in the page that is based on an unalterable VO.  In the table, there is a column with a delete button to allow the user to delete the selected line.  This VO is a bit like a cache for us, and we have a send button to perform a work based on the rows in the table.

    I tried to use RowSetIterator.removeCurrentRowFromCollection () and ViewObjectImpl.removeCurrentRowFromCollection ().  There was error complaining that it is an unalterable VO.

    Please tell us how to implement delete line read-only VO.

    Thank you

    -Mina

    Mina, please tell us your jdev version!

    Two things to check:

    (1) is there a PK set for reading only VO?

    (2) are the attributes defined to be editable (allways)? What you have to do it by hand because they are never put to the query according to your.

    Timo

  • How to set up the Cancel button?

    Hello

    I already have an adf with the next, previous, form submit, create operations etc... I need to add a Cancel button to allow the user to cancel/delete a create operation. Impossible to find such an operation in jdeveloper 12 c. Any help please? Thank you.

    You can delete the property off the restore button which, by default, looks like at #{! bindings.rollback.enabled}

    Thank you
    SAIF.

  • ODI - 1228 error when you try to delete a table using the procedure

    Hello

    I get the following error when I run the procedure. The process has two steps.

    Step 1: Drop table (REF_TABLE1 ;) removal
    Step 2: Complete the Table (Insert statements)

    ODI-1228: Load_Ref_Roles_Privileges_List (procedure) of the task fails on ORACLE DEVSCHEMA target connection.
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00911: invalid character

    CODE: delete from REF_TABLE1;

    When I run the same delete statement into a TOAD, it works. Also, if I run it with only step2 it works.

    Please notify. Thanks for your time and your help.

    Hello

    Could you try without the *. * ?

    Only

    delete from REF_TABLE1
    

    Kind regards
    JeromeFr

  • delete * from &lt; table &gt;

    Hello

    Is it possible to use
    delete * from <table_name>;
    When I tried it gave me error
    delete * from temp
    Error at line 1
    ORA-00903: invalid table name
    but on his watch as possible page
    http://psoug.org/definition/DELETE.htm
    So what is the true value.

    It is false. There has never been an option ' *' in the DELETE syntax. Here's the Oracle 7 documentation to REMOVE:

    http://download.Oracle.com/docs/CD/A57673_01/doc/Server/doc/SQL73/ch4a.htm#toc115

    Perhaps the author meant that the word OF key is optional? (I never use it.)

Maybe you are looking for

  • How to synchronize messages from mac to iPhone

    So I just made the mistake of 'restoration' my phone after I already had used for months (I had virtually no contact names, and I thought that's how I could get back them)... now my phone is completely messed up, and miss me all my texts.  Its super

  • FileSelectPopupEx

    Hello NO,. I miss some documentation... The aide said that Windows XP and Server 2003 do not support this dialog box style, and if you use this function on Windows XP or Server 2003, LabWindows/CVI replaces it with the FileSelectPopup function runnin

  • error 8024001F can help vista 07

    Separated from this thread. Please post requests for moderation here. Please keep on topic. Thank you David error 8024001F can help vista 07

  • lock the mouse button does not work

    It worked fine until a few weeks ago.  Now, I need to left-click while using the touch of the finger. I'm going to: mouse properties, buttons, lock, turn on click-lock and ok.  It does not help.  Thank you.

  • Horizontal lines on the screen of mobile phone g7

    Hi everyone, this is my first post. Here's my problem: horizontal lines appear and disappear quickly across the screen. It's happened only twice, and lasts for a few seconds, but as I understand it, it could get worse. I have also connected to an ext