cannot retrieve the value of the text field

Hi all

I use the pl/sql code following in the process that triggers after clicking on the button Delete

DECLARE
BEGIN
REMOVE FROM THE ABC, WHERE = NONE: P4_NO;
END;

Here: P4_NO is a text field.

The record is not removed from the table. Can someone help me with this please?

Edited by: user8966924 may 3, 2011 11:22

Hello

You can recreate your problem in apex.oracle.com?

In the meantime, try this:

(1) create before that process the header
2)

begin
delete from abc where no = :P4_NO
end;

condition:
what application in expression 1

DELETE

(3) name of the button: DELETE

Kind regards
-Spengler

Tags: Database

Similar Questions

  • 10gr 2-Sybase15-ORA-28545: cannot retrieve the text of the message from NETWORK/NCR

    Hi all

    I am trying to establish connectivity between Oracle 10 g 2 (Win XP Pro 2002) and Sybase ASE 15.0.2 (Sun Solaris 5.9) by using the transparent gateway for Sybase (TG4SYBS), but encountered the following error. I have looked for a solution quite well in all directions, but so far have been quite unlucky. This is my last resort. I don't really know what I'm doing wrong as I followed the steps of installation and configuration correctly. Please note:
    -Oracle transparent gateway software and database are installed in different homes; and,
    -J' created and tested the ODBC DSN connectivity with the Sybase server.

    The only thing that I have real concern about is the version of the Sybase server 64-bit OS; Windows Oracle server is 32-bit. Are going to count this could be the problem?

    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of CSSTAT


    I am enclosing also any of the configuration system below:

    ------------------------------------------------------------------------------

    Database server
    ===============

    V Windows XP Professional 2002 SP2

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0

    Sybase Adaptive Server ODBC Driver 15.00.00.152


    C:\ > echo %path%
    C:\oracle\product\10.2.0\tg_1\bin; E:\OracleHomes\agent10g\jlib; E:\OracleHomes\ag
    ent10g\bin; E:\OracleHomes\oms10g\bin; E:\OracleHomes\oms10g\jlib; C:\Program Files
    Company \Business Objects\BusinessObjects 6\bin\orb\asp\6.0\bin. C:\Program Fi
    les\Business Objects\BusinessObjects Enterprise 6\bin\orb\bin; C:\Program Files\B
    usiness Objects\BusinessObjects Enterprise 6\bin; C:\sybase\DataAccess\OLEDB\dll;
    C:\sybase\DataAccess\ODBC\dll; C:\sybase\Shared\Sybase Central 4.3; C:\sybase\OCS-
    15_0\lib3p; C:\sybase\OCS-15_0\dll; C:\sybase\OCS-15_0\bin; C:\sybase\JS-12_5\bin; C
    : \sybase\ADO.NET\dll; C:\sybase\ODBC; C:\Program WinRAR; C:\Windows\System32;
    C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\sybase\DBISQL\bin

    ------------------------------------------------------------------------------

    Sybase server
    =============

    Er1min01 of SunOS 5.9 Generic_122300-11 sun4u sparc SUNW, Sun-Fire-V440

    Adaptive Server Enterprise/15.0.2/EBF 14328, P, Sun_svr4, OS 5.8/ase1502/2486/64-b
    IT/FBO/Thursday 24 May 12:18:26 2007

    ------------------------------------------------------------------------------

    Sybase SQL.ini
    ==============

    [MINSAT]
    Master = TCP, 192.168.1.150, 5002
    Query = TCP, 192.168.1.150, 5002

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\tg_1 > tg4sybs

    Oracle Corporation - WEDNESDAY SEP 23 2009 02:43:29.406

    Heterogeneous Agent Release 10.2.0.1.0 - Production built with
    Driver for SYBASE

    ------------------------------------------------------------------------------

    inittg4sybs.ora
    ===============

    # This is an example of initialization file of the agent that contains the HS settings
    # needed for the transparent gateway for Sybase

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = MINSAT.csstat
    HS_FDS_TRACE_LEVEL = OFF
    HS_FDS_RECOVERY_ACCOUNT = RECOVERY
    HS_FDS_RECOVERY_PWD = RECOVERY
    #HS_FDS_TRANSACTION_MODEL = READ_ONLY

    #
    # Required for Sybase environment variables
    #
    SYBASE the value = "C:\\sybase".

    ------------------------------------------------------------------------------

    Listener.ora
    ============

    listener.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = csstat)
    (ORACLE_HOME = C:\oracle\product\10.2.0\tg_1)
    (PROGRAM = tg4sybs)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = FH)(PORT = 1521))
    )
    )

    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER = OFF

    ------------------------------------------------------------------------------

    tnsnames.ora
    ============

    tnsnames.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    TEMP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = FH)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TEMP)
    )
    )

    csstat =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.123.49)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = csstat)
    )
    (HS = OK)
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\db_1\BIN > lsnrctl status CSSTAT

    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 23-SEP-2009 02:47
    : 10

    Copyright (c) 1991, 2005, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=192.168.123.49) (PORT = 152
    ((1)) (CONNECT_DATA = (Server = Dedicated) (service_name = csstat))(HS=OK))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - production
    ction
    Start date 23 - SEP - 2009 01:48:54
    Uptime 0 days 0 h 58 min 16 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Listener parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.o
    RA
    Listener log file C:\oracle\product\10.2.0\db_1\network\log\listener.log

    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=FH) (PORT = 1521)))
    Summary of services...
    Service 'OEMREP_XPT' has 1 instance (s).
    'Oemrep' instance, State LOAN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'TEMPXDB' has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    Service 'TEMP_XPT' has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    Service 'csstat' has 1 instance (s).
    Instance of 'csstat', status UNKNOWN, has 1 operation for this service...
    Service 'oemrep' has 1 instance (s).
    'Oemrep' instance, State LOAN, has 1 operation for this service...
    'Temp' service has 1 instance (s).
    Instance 'temp', State LOAN, has 1 operation for this service...
    The command completed successfully

    ------------------------------------------------------------------------------

    C:\oracle\product\10.2.0\db_1\BIN > tnsping CSSTAT

    AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production 23-SEP-2
    009 02:48:12

    Copyright (c) 1997, 2005, Oracle. All rights reserved.

    Use settings files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.
    123.49)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = cssta
    (t)) (t)) (HS = OK))
    OK (20 ms)

    ------------------------------------------------------------------------------

    SQL > create database link csstat connect to the 'fw' identified by ' * ' using 'csstat ';

    Database link created.

    ------------------------------------------------------------------------------

    SQL > select * from sys.hs_fds_class;

    FDS_CLASS_NAME
    FDS_CLASS_COMMENTS
    FDS_CLASS_ID

    BITE
    Integrated Test environment
    1

    ------------------------------------------------------------------------------

    SQL > show parameter global_names;

    VALUE OF TYPE NAME
    global_names boolean FALSE

    ------------------------------------------------------------------------------

    SQL > select * from SIMSwap@csstat;
    Select * from SIMSwap@csstat
    *
    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of CSSTAT

    ------------------------------------------------------------------------------

    you use the Oracle Listener database in C:\oracle\product\10.2.0\db_1\ to spawn TG4SYBS installed in a different House: C:\oracle\product\10.2.0\tg_1. This works when you specify the full path in the listener.ora to tg4sybs executable file. The section of SID might look like:
    (SID_DESC =
    (SID_NAME = csstat)
    (ORACLE_HOME = C:\oracle\product\10.2.0\tg_1)
    (PROGRAM = C:\oracle\product\10.2.0\tg_1\tg4sybs)
    )

    Then STOP and START the listener and try again.

  • cannot change the text field after grouping

    Hi people,

    I have 3 single-line text fields and a logo combined using 'Add parents '.  For some odd reason, I can't select a field to edit text.  I can select them in the assets Panel and change the layout or style, but as soon as I double-click to edit the text, my selection goes to the div parent instead of the text field.  I tried to use the text as well, but it always happening in selection to the parent.  This isn't a big deal since I can change the text later in a Publisher, but it's a little frustrating.

    FWIW, I ran the update of this morning before starting, but I doubt that caused this nothing thanks for any help

    -Kevin

    So sorry Chris, in my frustration, I removed the parent and the group so I can get the item that I wanted to edit, and then recreated the parent.

    However, your description of the differences between the Group and Add Parent in this discussion: http://forums.adobe.com/thread/1361983?tstart=0 probably explains why I have problems.  I think I had GROUPED fields 3 text and then wrapped in this group and the image of the logo in another div with 'Add parents '.  I have probably not been not clicking successfully through the parent company to the group, and then in the text field.  In fact, I was clicking like mad, but probably not on the correct spot for each level.

    Thank you to specify how these elements work.

    -Kevin

  • Getting the text field value?

    How can I get the value entered into the field of action tf_1?

    Let's say I'm going to number 5 in the text field tf_1, how can I receive it for use in the code?five.png

    I would like to store that value in the variable, so that I can work with him in a function.

    Can someone help me? I am already grateful!

    var num:Number;

    calcular.addEventListener (MouseEvent.CLICK, resolver);

    function resolver(Event:MouseEvent): void {}

    NUM = Number (tf_1.text);

    If (num/400 = 0) {}

    trace ("Yes!");

    }

    }

  • How can we make invisible static value in a text field to the OPA

    Hi all

    I have invisible static value in a text field in the OPA.

    For ex: field contains the value 100 while we manage the maintenance should not display the value 100 or make us the text as invisible field. whenever we submit the interview the value should be passed.

    I made the background color of the text in white field, but it reflects all the text fields. I need to make the text of the particular text as invisible field. Can someone give me a solution for it.

    Use two different attributes (the one that is indicated in the interview to the need - for example, as "the id selected user" or whatever the phrase is appropriate) and a different attribute, which is the mapped attribute.  The second attribute must not be on any screen of the interview (by thus "invisible" for the user).  Write a table of rules that concludes that the value of the attribute mapped on is EITHER static value or the selected/expected value according to some logic is appropriate to make a decision in your model of strategy.

  • Check the boxes based on the value in a text field

    Hello.

    I'm building a pdf form in Acrobat Professional X. I want to add JavaScript to two checkboxs to achieve the following objectives:

    If the value of a text field (TLigne) is equal to 61, 64, 66 or 67, the first box (PlanACheck) has the value of the object of an audit.  If the value of a text field (TLigne) is equal to 60, 62 or 63, the second box (PlanBCheck) has the value of the object of an audit.

    I have no other than copy and paste Javascript experience, so I'm not sure I use the right language to research. If anyone can provide guidance, I would be very happy.

    Thank you very much!

    Usually this kind of thing will run the custom calculation of the target field script, but the boxes is not a calculation script, so we'll use the text for field Validation script do, with this code:

    this.getField("PlanACheck").checkThisBox (0, (event.value == "61" | event.value == "64" | event.value == '66' | event.value == "67"));

    this.getField("PlanBCheck").checkThisBox (0, (event.value == "60" | event.value == "62" | event.value == "63"));

  • View the value of a text in the text field B field

    I have a PDF form with 2 layers. Layer 1 has information, a textfield and a button. Layer 2 is a model of certificate. The user enters his name in to a textfield called NameEntry.


    When they hit the button, disappears from the layer 1 - instructions and the box of NameEntry become hidden. Layer 2 is the model certificate and I need a new textfield (which is called NameDisplay) to be filled based on the information entered in the text field NameEntry.


    The answer is simple, I know, is to appoint the two text fields. This does not work for me I need input textfield that will carry the differently (background and border) because of decisions out of my hands vs the NameDisplay who will be no background and no border.

    Any ideas? Thank you!

    Use this custom calculation script:

    Event.Value = this.getField("NameEntry").valueAsString;

  • Get the value of the drop-down list (selectedIndex) and the text field - does not

    Hi all

    I'm trying to find and change the values selected by the user using a drop-down list and text field. Here's the code.

    ChangeRevDetails();
    function ChangeRevDetails(){
    
    
              var myDialog = app.dialogs.add({name:"Enter copyright information"});
    
    
    //    var monthlist = col1.dropdowns.add('myList', undefined, myList);
    
    
              var col1 = myDialog.dialogColumns.add();
              var col2 = myDialog.dialogColumns.add();
      
        col1.staticTexts.add({staticLabel:"Month:"});
              col1.staticTexts.add({staticLabel:"Year:"});
        col1.staticTexts.add({staticLabel:"Rev. no.:"});
        
        var myList = [ "January", "February",  "March", "April", "March", "April", "May", "June", "July", "August", "Sepetember", "October", "November", "December" ];
    
    
         var myMonth = col2.dropdowns.add({stringList:myList, selectedIndex:0, minWidth:100});//{minWidth:100});
         var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});   
         var MyRev = col2.textEditboxes.add({minWidth:100});
    
    
        var RevMonth = (myList [myMonth.selectedIndex]);
        var RevYear = myYear.editContents;
        var RevNumber = MyRev.editContents;
        var RevToReplace1 = RevMonth +", "+ RevYear;
        var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
    
    
        var myResult = myDialog.show();
    
    
            if(myYear.editContents == "") //entry is "" 
            { 
            alert("Please enter some text into the contents field."); 
            ChangeRevDetails(); 
            }
            else if(myResult == true) //user entered datas 
            { 
    
    
                alert (RevMonth);
                alert (RevYear);
                alert (RevNumber);
                alert (RevToReplace1);
                alert (RevToReplace2);
    
    
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
    
    
                // grep find/change
                app.findGrepPreferences = app.changeGrepPreferences = null;       
                app.findGrepPreferences.findWhat = "[\\l\\u]+?\\s?\\d{4},?\\s+[\\l\\u]+\\.*\\s+\\d+";
                app.findGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.changeGrepPreferences.changeTo = RevToReplace1;
                app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.activeDocument.changeGrep();
    
    
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
      
        } 
        else //implies user clicked cancel 
        { 
        myDialog.destroy(); 
        }
    
    
    }
    
    

    The problem is, it does not take the value that the user selects in the drop-down list and the text field. It takes the default value as "January" and the year is '2013' as these two values are given as selectedIndex:0 and editContents: "2013". I compared the coding with a few other scripts work as well, but it does not work. I added several alert boxes to check the value we get.

    In addition, search for it and change also does not work. Please help me on this. Thank you.

    Kind regards

    Bachi. D

    Change the order of dialogresults:

    ...

    var myYear = col2.textEditboxes.add ({editContents: "2013", minWidth:100});})
    var MyRev = col2.textEditboxes.add({minWidth:100});)
    Ditto var = myDialog.show ();
        If (myYear.editContents == "") //entry is «»
        {
        Alert ("Please enter a text in the content field.");
        ChangeRevDetails();
        }
        else //user entered if(myResult == true) datas
        {
    var RevMonth = (myList [myMonth.selectedIndex]);
    var RevYear = myYear.editContents;
    var RevNumber = MyRev.editContents;
    "var RevToReplace1 = RevMonth + ', '+ RevYear;

    "var RevToReplace2 = RevMonth + ', '+ RevYear + 'Rev' + RevNumber;

    ...

    did not have a look for the problem of change to find

  • Set by default to the value of another text field

    I imported a several page PDF in LiveCycle Designer.  I place a text field on each page of the PDF file.  I want the user can click in the text field on the first page and type its value.  Then I want to fill in any other fields of text on other pages.  How do I put the default value of the other fields to make this work?

    You can bind the fields in the object > tab link. Simply, name them all the same thing and change the global default binding.

  • Web page open based on the value of the text field

    I want to open a web page that is based on the value of a text field.  How to bind the value of a text field to a command which will open the web page?

    For example, the value of the text field is: 8 t - EXT

    and the web page I want to open when you press a button is: http://hqms/doc.asp?dn=8T-EXT

    As you can see that the 8 t - EXT is something that a person enters the form and is what is needed to open the web page.  The other text in the link of the webpage is always the same.

    Thank you

    Hello

    In the click event of the button, place the following JavaScript code:

    if (TextField1.rawValue !== null) {
         var vURL = "http://hqms/doc.asp?dn=" + TextField1.rawValue;
         app.launchURL(vURL, true);
    }
    else {
         app.alert("Dear user, please put a code in the text field. Thank you!");
    }
    

    You need to change the object references based on your shape.

    Niall

  • Value of the text field delete after click

    There is a text field with the value "type your name". When click in the text field, the value will be automatically deleted. We type "Adobe", then click on outside. If you still want to type 'cycle' after 'Adobe' (no delete Adobe or retype "adobe")

    Is this possible? How can I get?

    Hello

    The other way to do this is to go to object > palette on the ground and set a display model of the null state.

    See page 2 of the form example here: http://assure.ly/ewrLMo.

    At its most simple requires no script:

    In our example we have script in events enter and exit to change the police, but this step is entirely optional.

    Hope that helps,

    Niall

  • Referring to the value of a text field, not the legend

    How to refer to the value in a text field to make the data entered by the user "BOLD" / no fat without the caption of a field text in bold or not bold?

    Hello

    Two lines should do. The first turn the caption and the "BOLD" value, then the second changes the legend of back to normal:

    TextField1.font.weight = "bold";
    TextField1.caption.font.weight = "normal";
    

    Hope that helps,

    Niall

    Ensure the dynamics

  • Adding (or divide, multiply, etc.) in the text field values

    Hello world

    I'm trying to calculate values in fields of text entered by the user (who didn't accept numbers) as well as the values selected by the user drop-down list boxes. I have a function to a button:

    reviewQ.calcBtn.addEventListener(MouseEvent.CLICK, calcAns);
    function calcAns(e:MouseEvent):void
    {
         reviewQ.calcAns_text.text = "Your calculated result is " + parseInt(Q1.Q1_text.text) + parseInt(Q2.Q2_cb.selectedItem.data) + parseInt(Q3.Q3_text.text) + parseInt(Q4.Q4_cb.selectedItem.data);
    }
    

    Now, all I get is the actual values entered into the text fields and selected in the drop-down list boxes. How can I get the sum of these values to display on my 'calcAns_text.text '?

    Thank you for your help,

    Rafa.

    You have to build your own filtering for values.  If you think that decimal values, then you will need to plan and test for the presence of a comma in a numeric string and then do not use parseInt(); (what creates an integer value), but use instead Number();  You will need to filter the commas in the numbers in the string before creating the value used for the calculation.

  • Getting the value of the text field element

    I was wondering if it was possible-

    I have a text field and a "submit" button. In the button submit, I said it to go to a link (i.e. http://www.oracle.com/). I want to take the information that is in the text field and with the URL concatinate (IE if the APEX was in the text field, I want the button submit to take me to http://www.oracle.com/APEX).

    Is this possible?
    If so, how?

    Thank you
    Tom

    Tom:

    Set the URL in the definition of button as

    javascript:redirect('http://www.yahoo.com/' + $v('TEXT_FIELD_NAME') );
    

    CITY

  • Limit of characters in the text field (multiline). Is this true or am I dreaming?

    Hello

    I use the plugin CKEDITOR with my text entries and when dough stylized text, attributes, and other things like customers are created by increasing the number of characters in textarea html sense cannot be complete if we limit characters in the article multiline text field web app.

    A lot of pages break when the web application retrieves these fields in the details of page layout view, because html is not complete in the text field.

    Then text field for Web (Multiline) application has the limit of characters, or maybe I am doing something wrong?

    What it takes to get rid of this limit?

    Thank you

    Hi Ray,

    Please refer to this thread below the limit of characters for the two text (string and multiline) at this stage.

    - http://forums.adobe.com/message/4342388

    Kind regards

    -Sidney

  • By selecting the text box to change the text field

    I worked on a form to allow suppliers to fill their reports of endoscopy online.  I'm trying to do something very simple.  If a user selects a check box change the value in a text field.  Either we allow the code to run once.  It will change the value once - even if I think it's to set an incorrect value in the code - but that is neither here nor there at this point.

    Here's the code that should work in my opinion.

    Form1. EndoscopyPage1.TestChkBox::click - (JavaScript, client)

    If (this.rawValue == 1)

    {

    TestTxt1.rawValue = "ON"; the user cannot enter field

    }

    on the other

    {

    TestTxt1.rawvalue = "off"; the user can enter the field

    }

    I tried the following as well

    If (TestChkBox.value = 0) then

    TestTxt1.editValue = 'Off ';

    endif;

    If (TestChkBox.value = 1) then

    TestTxt1.editValue = "ON";

    endif;

    I have attached the file as well.  My trial fields are in the middle of the first page.

    It's just a typo. You typed rawvalue rather than rawValue "V" must be upper case.

    See the attahed to the snap.  It works for me after you change this property.

    Nith

Maybe you are looking for