How to get a form field valud in delete PL/SQL Button Event Handler

Hi Friend,
I have a form. when user clicks delete button. we want to remove system dodelete function
and add a delete script
Under delete-top category,
how can I get value of form EVENT_NUMBER field in form at delete PL/SQL Button Event Handler?
DELETE FROM PTEAPP.PTE_EVENTS WHERE eventnumber = EVENT_number
But when I try to save this form and get message as
1721/15 PLS-00201: identifier 'EVENT_NUMBER' must be declared
Thanks for any help!
newuser

I did something similar but wasn't using a stored procedure. Couldn't you set a flag variable once you know you're not doing the insert and in the "before displaying the form" section put an IF to check if your flag was set, and if so do an HTP.Print('You are overpaid buddy!');
Then just reset your flag.

Similar Messages

  • How to show a message in a form 'PL/SQL Button Event Handler'

    We need validate the sal of an employee, and if it is bigger the value musts
    not be inserted.
    We trying a code like the one shown in the note 134312.1 'HOW TO PASS A
    PARAMETER FROM A PORTAL FORM TO A STORED PROCEDURE' and it works in the insert event of the insert button (using 'PL/SQL Button Event Handler') and it works, but we need to show a message that says the data wasn't inserted. How can we do this?
    The code we used is:
    declare
    v_deptno scott.emp.deptno%type;
    v_empno scott.emp.empno%type;
    v_sal scott.emp.sal%type;
    mySal scott.emp.sal%type;
    v_string varchar2(256);
    blk varchar2(10):='DEFAULT';
    begin
    select sal into mySal from scott.emp where empno=7369;
    v_deptno:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_DEPTNO');
    v_empno:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_EMPNO');
    v_sal:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_SAL');
    v_string:='You just inserted empno: '||to_char(v_empno) ||'to deptno ->
    '||to_char(v_deptno);
    if mySal < v_sal then
    doInsert;
    else
    -- We want to display a message here, when mySal > v_sal
    end if;
    end;
    ----------------------------------

    I did something similar but wasn't using a stored procedure. Couldn't you set a flag variable once you know you're not doing the insert and in the "before displaying the form" section put an IF to check if your flag was set, and if so do an HTP.Print('You are overpaid buddy!');
    Then just reset your flag.

  • How to add a custom PL/SQL code for a button event handler

    Hi All,
    I am a toddler in using Oracle Portal. So please forgive me for my ignorance.
    Q : How do I add a custom PL/SQL code for a button event handler?
    Basically, I would like to write MY PL/SQL function and call it. I could see that we can write "CUSTOM" code as "PL/SQL button event handler" in the form design window. But the question is that it expects only a "call" to procedure. But where do I define the procedure then? If I insert the procedure from the backend, it gets flushed the next time I compile my form.
    Hope I am able to explain my point.
    Thanks in advance,
    Abbas.

    Hi All,
    I am a toddler in using Oracle Portal. So please forgive me for my ignorance.
    Q : How do I add a custom PL/SQL code for a button event handler?
    Basically, I would like to write MY PL/SQL function and call it. I could see that we can write "CUSTOM" code as "PL/SQL button event handler" in the form design window. But the question is that it expects only a "call" to procedure. But where do I define the procedure then? If I insert the procedure from the backend, it gets flushed the next time I compile my form.
    Hope I am able to explain my point.
    Thanks in advance,
    Abbas.

  • How do I bring form fields to the front or back?

    I have a document with many form fields/push-buttons in order to create pup-up effects in an info graphic.
    So I use fields to create a mouse-over hot spot, and others that pop up. Now, of course, the hot spot must be in front (or on top), otherwise it gets distracted in it's mouse-over function by the popped-up object (image) that lays over it. (The result would look like a flashing effect, as you roll over the hot spot.)
    Now how do I arrange the fields?? Ich can arrange images and texts to come to the front or hide behind other objects. But in the form field editing mode there is no such option. Also it doesn't work to just cut and paste them, they re-appear in their former position, often behind the other fields.
    Please, help! Thanks, Peder

    Thanks, I will give it a try. To "recieve the focus" means being activated / hovered?
    Am 22.04.2015 um 18:49 schrieb George_Johnson:
    How do I bring form fields to the front or back?
    created by George_Johnson in PDF Forms - View the full discussion
    The tab order effectively sets the z-order, but if a field is not read-only it will be set to the front if it receives the focus.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7465780#7465780 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7465780#7465780
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in PDF Forms by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.
    ···)····•  Blixen
    werbliche Kommunikation
    Peder Iblher  .  Wichertstraße 16/17  .  10439 Berlin
    Telefon 030 - 250 400 401  .  Fax -409  .  Mobil 0160 - 93 81 58 60
    [email protected]  .  www.blixen.eu  .  www.facebook.com/blixen.eu

  • How to get multiple selected fields in list

    Hello all,
    I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
    Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
    Thankx..

    i want to put the selected fields of list in an array through AS3....
    actually......i figured it out how to do that...........
    Its simple......use
    list.selectedItems[index]
    and to get the number of items selected......
    list.selectedItems.length
    simple.....

  • How to get the form reference in .js page from .jsp page

    hi
    i have written one form in jsp page omething like:-
    <html:form action="/shopping" onsubmit="return false;">
    can anybody tell me,how to get the form reference in .js page from .jsp page ,
    i have tried:-
    var formRef = document.forms[0];
    butits not working.
    Thanks.

    Its very simple......y cant u prefer google...Bad
    c this example...
    function submit()
    alert("textbox"+ document.forms[0].name.value);//to get textbox value in js
    document.forms[0].submit();//to submit jsp page using js
    <html:html>
    <html:form action="/shopping" onsubmit="submit()">
    <html:text property=name>
    learn to search in google..
    </html:form>
    </html:html>

  • Quick Tip: How to create editable form fields | Acrobat X Tips & Tricks | Adobe TV

    A short tip that details how to create editable form fields using Acrobat X Std. or Pro.
    http://adobe.ly/wzXkmL

    I have created a form which will be filled out by customers and sent back to me via 'submit' button. What I am trying to figure out is when we receive the filled out form, is there any way to have it as a pdf. To clarify, when the form is filled out and sent, the receiver opens the email and attached is a non-editable pdf. This way the customers information is no longer editable.

  • How to get the form name which is used in standard tcode like me23n in sap

    how to get the form name which is used in standard tcode like me23n in sap
    Moderator message: four out of four threads locked, please read and understand the following before posting further:
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers]
    Edited by: Thomas Zloch on Nov 18, 2011 1:32 PM

    how to get the form name which is used in standard tcode like me23n in sap
    Moderator message: four out of four threads locked, please read and understand the following before posting further:
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers]
    Edited by: Thomas Zloch on Nov 18, 2011 1:32 PM

  • How to get the form printed through the transaction ME42

    hi,
    How to get the form printed through the transaction ME42.
    For example :
    In t.code vf03 . In the main menu there is an option billing document , when we click on that we get a drop down menu which shows issue output to. If a print program call has the code to get the value from the t.code , immdiately when we click issue output to it call the form.

    Here go to ME42 put in your RFC no, in the menu Header -- Messages, go there and see if a message has been inserted, else you can insert one.
    when you save this, it will call the form.
    Regards,
    Ravi

  • How to Map Proces form field with Resource form field?

    Hi,
    How to Map Proces form field with Resource form field while creating Process form in Form designer

    Are you talking about Provisioning ?
    then you do that in Data Flow under Process Defintion in OIM 10g
    In OIM 11g you use Request Dataset. In that you can directly map fields to process form.

  • How to get u00BBshort descriptionu00AB  field in structure u00BBBAPIDFKKCLu00AB in local la

    Hello
    I wander how to get »short description«  field in structure »BAPIDFKKCL« in local language »SK«(Slovakia).
    In SMLT transaction I tried several combination of supplementing Language »SK« (with »EN«) none with success. 
    What do you propose? Which combination of parameters in SMLT for substitution do you propose?

    Hi jan Bo ,
        Did you check the option expert mode:
        If you want to supplement a more precise selection of tables, application tables, for example, use the expert mode of the language supplementation program.
    Proceed as follows:
    1. Choose the following for the language that you want to supplement: Language u2192 Special Actions u2192 Supplementation (Expert).
    2. On the next screen, enter a description of your supplementation. This helps you to recognize the supplementation you have started in the transaction SMLT overview.
    3. In the center of the dialog box, you can specify conditions for selecting the tables you want to supplement. These fields are set with SAP defaults, however, you can change them by choosing Change. The default is set so that if you are logged on to client 000, all cross-client and client-specific tables are supplemented in client 000. In other clients, only the client-specific tables in the logon client are selected for supplementation.
    4. The tables that you want to supplement appear at the bottom of the screen, according to the selection you made by choosing Select. Each table is shown with its table class, a description, the supplementation mode, and the client in which the table will be supplemented. You can use the appropriate pushbuttons to change this list, however, we recommend this for experienced users only.
    You can find this with link :
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ac5b5193-0701-0010-45a7-98dd573a6785
    under section :
    6.2 Language Supplementation................................................................14
    6.2.1 Starting Language Supplementation..........................................................................15
    6.2.2 Language Supplementation (Expert Mode)................................................................17
    Could you please also check the the below post :
    Re: Complete Language Supplementation ?
    chek the below link for search.... it would also help you for next search
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=supplementingLanguage&adv=true&sdn_author_name=&sdn_updated_on_comparator=GE&sdn_updated_on=&start=11
    i also suggest you to check with target client on which you installed language at last.
    Regards,
    S.Manu.

  • How to pass the FORM Fields value by Form Personalization

    Hi ALL,
    I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
    can any one suggest what to do???
    i tried with these syntax
    TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
    TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
    Regards
    Ravi

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

  • How to get pdf form data into a php code?

    I have created one pdf form ,that helps to fill application form online.....
    I tried to access the field values using php code ($_REQUEST) but itz not taking any field values then i searched everywer to find solution but all are telling the same .then i got one link for demo of simple submit form , here is the demo http://blogs.adobe.com/stevex/files/SimpleSubmitSample.pdf but this demo is not working in my system,not getting values from pdf ........................Is there any setting to do inorder to get pdf form field values in PHP
    can any one help me??

    I never had this problem so obviously something needs tweaking. First thing to test is to leave the PDF out of the picture - check if the variables are received when performing a HTTP POST from another web page to your script. If this works, the next step would be to have your script do a phpinfo(); or print_r($_POST); and submit from your PDF. This in order to determine what really is sent from the client.
    Now you should be able to pinpoint your problem.

  • Can't get to "Form Field Mapping" pop up for PDF templates

    Hi all,
    I am trying to create a PDF template in BIP(10.1.3.4)
    I have put a single text field on the PDF template and uploaded the XML data as well. I click on the "Map Form Field" button for the template and it is opened. I can see my text field highighted but when I click on this nothing happens... i.e. I don't get the "Form Field Mapping" to map my data field to the template(as per page 3-40 on BIP User's Guide). What am I doing wrong?
    Thanks in advance for your time.
    Yahya

    Hi,
    We had the same issue and the solution was to save the pdf form as Acrobat 5.0 compatible.
    For Acrobat 9 : File -> Save As -> Save As type: (Adobe PDF Files, Optimized) -> Settings button -> Make compatible with: Adobe 5.0 and later
    This is also mentioned in the Report Designers Guide page 10-1 "Supported Modes"
    Regards,

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

Maybe you are looking for

  • Product valuation for Sales order with itemizations

    Hi experts,    I'm trying to find a data source which extracts Product valuation for sales order, and which is important, with itemizations. This is for the KMAT material. I tried 0CO_ACT_* and 0CO_PC_PCP_* but found no proper one.    The closest one

  • Window update will not run... error "windows cannot currently check for updates because the service in not running?"

    i am running windows 7 64bit professional on an asus essentio series cm5675 i5 processor with 16gigs of ram any reason or what is causes the update program/service to not run?

  • IPhone 6: Is partial frying possible?

    Today I poured a cup of tea on my brand new iPhone. Luckily my silicon case partly protected my phone from sucking too much liquid. Still entire front surface was all under liquid. I have immediately switched off the phone. I wiped and drained out th

  • Dbx not working in Linux

    I am using RedHat 6.5 Linux Linux version 2.6.32-431.el6.x86_64 I am using Oracle SolarisStudio12.3 to build my application and run in Linux machine. Binaries are built as 32 bit which are deployed in 64 bit Linux OS. I am getting the following error

  • Capture Origin of Exception: PageLifecycle

    I've altered my project to include classes that modify exceptions that are thrown. Like the SRDemo example, I have ErrorHandler, PageLifecycle, PhaseListener, and KnowErrorStopException classes. In the PageLifecycle class, I can catch and modify the