Impossible to delete the record from the table using the form

I have a stored procedure (function, actually) that allows an administrator to manually delete a record in a table.

When I call my form there will be no effect. The record remains in the table.

In both cases, I connect to the database to the same user.

I am able to call a test function in the database which returns a field in the record, so I think I can at least communicate with and retrieve results from the database using a stored function. As soon as I approach him "select" "delete from", no luck.

If I try to run the SQL in my form with a statement of FORMS_DDL, it seems to run smoothly when I not in the code in the debugger, but it had no effect. FORMS_SUCCESS reports TRUE if DBMS_ERROR_TEXT has the following: ORA-01403: no data found. I don't know how the DBMS_ERROR_TEXT is that FORMS_SUCCESS is not set to FALSE.

Any ideas as to why I am unable to remove using my form but can when you call the function registered directly/manually?

Using Oracle Forms & DB 10.0.2.0.1.

Patrick,

After each Insert / Update / Delete statement, you have to COMMIT . Then only it will be in select statements.

Kind regards

Manu.

Tags: Oracle Development

Similar Questions

  • help in registration of the records from two tables

    HI: I have two tables joined the first field. The field is the primary key in the first table. Need help listing records from both tables with each a line/record results.
    create table EVENTS (
    event_key varchar2(64) primary key,
    event_description varchar2(64),
    create_time int
    );
    
    
    create table EVENT_UPDATES (
    event_key varchar2(64) NOT NULL ,
    update_description varchar2(64),
    update_time int
    );
    
    
    insert into EVENTS values('Event1', 'This is event1', 1);
    insert into EVENT_UPDATES values('Event1', 'Ticket created', 3);
    insert into EVENT_UPDATES values('Event1', 'Event cleared', 10);
    insert into EVENTS values('Event2', 'This is event2', 4);
    insert into EVENT_UPDATES values('Event2', 'Ticket created', 6);
    insert into EVENT_UPDATES values('Event2', 'Event cleared', 8);
    I want to print each record in the table of EVENTS such as a line and the corresponding records in EVENT_UPDATES as a line like this record
    Event1   1     This is event1
                3     Ticket created
                10   Event cleared
    Event2   4     This is event2
                6     Ticket created
                8     Event cleared
    TIA
    Ravi
    select  case weight
              when 1 then event_key
            end key,
            time_val,
            description
      from  (
              select  event_key,
                      create_time time_val,
                      event_description description,
                      1 weight
                from  events
             union all
              select  event_key,
                      update_time,
                      update_description,
                      2 weight
                from  event_updates
            )
      order by event_key,
               weight
    /
    
    KEY          TIME_VAL DESCRIPTION
    ---------- ---------- -------------------------
    Event1              1 This is event1
                        3 Ticket created
                       10 Event cleared
    Event2              4 This is event2
                        6 Ticket created
                        8 Event cleared
    
    6 rows selected.
    
    SQL> 
    

    SY.

  • Windows live mail 2012. Impossible to delete some messages from the Inbox.

    Have windows live mail 2012.

    Impossible to delete some messages. Some are in the same domain. Should be spam. The settings have not been changed.

    To solve the problem, I signed in Microsoft Outlook.com and managed to delete messages as well as notify Microsoft about junk e-mail. So far, when you use Windows live mail, I received an email from the same source as before and was able to remove it.

  • How to read/select only the records from a table with non-English characters

    Hello
    I need to find all records in a table with non-English (mainly Chinese) characters in at least one of the varchar2 columns. Let me kow if someone knows a way by which it can be done using SQL/PLSQL.

    Best regards
    Imran
    select * from your table
    where your_column != convert(your_column, 'UTF8', 'US7ASCII)
    

    Replace UTF8 with your database character set

    Published by: thtsang on October 15, 2009 03:53 - unequal sign change of! =

  • My Outlook Express gives me an 0x800C0133 error. Impossible to delete my messages from the Inbox. Also, I don't find the file indox.dbx.

    I read the post on the copy the messages from the Inbox to another folder.  I tried, but get an error message.  I decided that I would just delete all but the messages will not delete.  I used the search function of windows to search for inbox.dbx, but he could not find the file.  I have a large number of messages in my Inbox and its ok if I lose all.  I get the error message when I start outlook express and download messages from my pop3 e-mail.  It still downloads messages from one of my other emails which is also a pop3 server.  I have windows xp pro and it is completely up to date.  Thank you...

    Hello craigalene,

    This issue may occur because of corrupted inbox in Outlook express.

    Perform the following troubleshooting steps and check if this solves the problem.

    Step 1:

    Create a new folder and move all mail from your Inbox to the new folder in Outlook Express.

    Follow these steps:

    a. click on the file menu.

    b. Select the folder and select new.

    c. give an appropriate name for the folder.

    d. Select all mails in the inbox and move to a different folder.

    e. move mail to the new folder.

    Step 2:

    I suggest to delete the Inbox.dbx file in your computer.

    In Windows XP Outlook Express files user (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under Start, Control Panel, Folder Options and view.

    Follow the steps to delete the Inbox.dbx file.

    a. close Outlook Express.

    b. use the search option to find the box of Inbox.dbx.

    c. delete the Inbox.dbx file.

    Note: Another will be created automatically when you open Outlook Express.

  • Windows Vista mail. Impossible to delete some items from the deleted items folder.

    I can delete the new entries, but there are a few video fwded causing w/message does not. the Explorer did the same thing.

    In Windows Mail, select 'Tools', then 'Options', then choose the "Advanced" tab (a-wing) and then choose 'Maintenance' and check the 'Empty messages from the deleted items folder' box leaving

    This will remove them those ALL - not only some that selections but he should get rid of those who you are having problems with at the same time.  I don't know how just select the few with videos.

    I hope this helps.

    If this does not work or help, please post your question in the Forum programs: http://social.answers.microsoft.com/Forums/en-US/vistaprograms/threads where people who specialize in Windows Mail, among other things will be more than happy to help you with your problem.

    Good luck! Lorien - MCSA/MCSE/network + / A +.

  • Impossible to delete the files from the Windows Media Player library

    Cannot delete files from library

    There are files in my library that I deleted the files, but the items still appear in my library. An example would be the items stored in the folder 'Public '.  When I right click on the file and choose 'Remove', nothing happens.  Any suggestions on how to get these files is no library WMP?  I tried already to 'Restore the library' and I also tried "sfc/scannow", which did not find any problem.

    It seems to be a corrupt library file.  In any case of the deletion and re-creation of who?

    Thanks in advance for any given input.  If any other detail is necessary, please do not hesitate to ask.

    -Greg

    Hi GregRN,

    Thank you for using the Microsoft Answers forums.

    Delete the database of Windows Media Player and check if the problem persists.

    To do this, follow these steps:

    1. exit Windows Media Player.

    2. click on Start, click run, type %LOCALAPPDATA%\Microsoft\Media Player, and then click OK.

    3. Select all the files in the folder, and then click delete on the file menu.

    Note You don't have to remove the folders that are in this folder.

    4. restart Windows Media Player.

    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:

    1. exit Windows Media Player.

    2. If you are running Windows Vista, click Start, click run, type %LOCALAPPDATA%\Microsoft, and then click OK.

    3. Select the Media Player folder, and then click delete on the file menu.

    4. restart Windows Media Player.

    For more information visit http://support.microsoft.com/kb/925718 (this article is for windows media player 11 but also works for windows media player 12)

    Hope this information is useful.

    Let me know if it worked.

    Thank you, and in what concerns:

    Umesh P - Microsoft Support

    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.

  • Impossible to delete the file from Windows Media Player

    I'm on Windows 8 and tried to remove an artist from my Windows Media Player library. It does not work it just did nothing. Instead, I deleted the file from my music folder, but the artist remains in my library and now does not play the file.

    How can I fix it?
    Is there someway to prevent that from happening again with other music files?

    Hey Tapper,

    I suggest you to clear the database of Windows Media Player and see if the problem still occurs.

    To do:

    a. press the Windows key + R and type %LOCALAPPDATA%\Microsoft\Media Player, and then click OK.

    b. Select all files in the folder, and then click delete on the file menu.

    Note You don't have to remove the folders that are in this folder.

    d. restart Windows Media Player.

    Note Windows Media Player automatically rebuilds the database.

    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:

    a. press the Windows key + R and type %LOCALAPPDATA%\Microsoftand then click OK.

    b. Select the Media Player folder, and then click delete on the file menu.

    c. restart Windows Media Player.

    Note Windows Media Player automatically rebuilds the database.

    I hope this helps.

    Please post back with the State of the question and we will be happy to help you further.

  • Impossible to delete the files from the printer queue

    Original title: printer HP 1510

    My printer cannot print documents due to an execel document won't delete, I have asked for all documents will have to be cancelled, but it will not erase that.

    Hello

    Method 1:

    Try to follow the steps in this link and check if it helps: http://windows.microsoft.com/en-US/windows7/Open-the-Printer-troubleshooter

    Method2:

    Try the following steps to delete the printer spooler and activate the spooler service and check if it helps:

    a. click Start, type "Services.msc" (without the quotation marks) in the Open box and click OK.

    b. double click on "Printer Spooler" in the Services list.

    c. click stop , and then click OK.

    d. Click Start, type "%WINDIR%\system32\spool\printers" in the opened window and delete all the files in this folder.

    e. now restart the print spooler service and check.

    Note: make sure that you have created a System Restore point before trying these steps.

  • Delete query to delete records from multiple tables

    All,

    I need a delete query that will delete the records from the tables. Please see the structure of the table & below
    CREATE TABLE TEMP1 (ID NUMBER(10),NAME VARCHAR2(40),CLASS VARCHAR2(40),COLLEGE VARCHAR2(40));
    CREATE TABLE TEMP2 (ID NUMBER(10),CITY VARCHAR2(40),STATE(40));
    
    INSERT INTO TEMP1 (ID, NAME,CLASS,COLLEGE) VALUES (1000,'SAM','CS','UNIV_1');
    INSERT INTO TEMP1 (ID, NAME,CLASS,COLLEGE) VALUES (2000,'RIO','CS','UNIV_1');
    INSERT INTO TEMP1 (ID, NAME,CLASS,COLLEGE) VALUES (3000,'CHRIS','CS','UNIV_1');
    INSERT INTO TEMP1 (ID, NAME,CLASS,COLLEGE) VALUES (4000,'ALEX','CS','UNIV_1');
    
    INSERT INTO TEMP2 (ID, CITY,STATE) VALUES (1000,'Auburn','NY');
    INSERT INTO TEMP2 (ID, CITY,STATE) VALUES (2000,'Ithaca','NY');
    INSERT INTO TEMP2 (ID, CITY,STATE) VALUES (3000,'Mount Vernon','NY');
    INSERT INTO TEMP2 (ID, CITY,STATE) VALUES (4000,'Port Jervis','NY');
    Now, I need to delete the records in these tables where the ID is '2000' by using a single delete query. Is this possible? This may be a newbie question. Help, please.

    "using a single request deletion. Is this possible?

    Nope.
    You can insert into multiple tables by using a single query, INSERT ALL job, but you cannot delete more than one table using a single query.

  • Delete records from a table of forms

    Oracle forms6i
    Hai All

    I use forms6i and my need is I have generated a forms and the output is displayed through tables and I need to delete all the records from the table of my forms when executing next time pls tell me

    Concerning

    Srikkanth.M

    Hello

    Please try something like that.

    Begin
    Delete From Master_Tbl Cascade;
    forms_ddl('Commit');
    End;
    

    Sarah

  • Impossible to delete the partitions or format C

    I have a mobile shadow Smart Power (a special Aldi 2004), which comes with no hidden restore disc, but it has a much utility and disk etc. drive OEM drive.  I need to reformat C and reinstall XP Home... nothing seems to work - after surfing several hours for a reply and try to all the ones I found!  I can not get an option to format using disk management, because it is grayed out, and if I use the disc provided as a boot disk, I can't delete the partition as it says that it is in use / mounted.  Can anyone help please... as I suspect that the XP disc resembles C and just by looking at him, he believes that it is in use, so it will not let me delete the partition or format C.  I don't know how to get around this problem with the discs that I have... and experience tells me that shadow are desperate for assistance to the user, so there is probably no point of contact with them.

    All I can understand about shadow is that it was an Austrian company which has since been bought by a Taiwanese company and has almost no information available online support (although there seems to be quite expensive telephone support lines).

    You cannot remove or format the system partition (the one where Windows) of Windows.  This is why there are bootable CD installation/restoration of the system, the idea being that if you run with an operating system on the CD, you can do what you like on the hard drive.

    Your drive "OEM", is supposed to be a system restore disk or just a collection of software and drivers?

    If it is a restore disk, when you start from it, it should just restore the computer to its original state, or at least give you an option to do so.

    Can you describe the screens that appear when you start from your OEM drive?

  • Impossible to delete the Cache of the Preview on LR4 (Mac 10.10.3). Message says it's 'in service '.

    I use on Mac 10.10.3 LR4. My catalog is on an external HD LR (iOmega 1 TB) stops due to the "error in the reading of the preview cache and must stop."

    I read on previous forums I need to delete the cache of the preview.  I found this file (in the same folder that the Lightroom - the preview cache named catalogue ends with Previews.LRDATA.) and put it in the trash.  HOWEVER, it will not erase.  I get the message: "the operation cannot be completed because the item"LR4 catalogue on MacBkPro Previews.lrdata"is in use.  Help!

    I see this once in awhile on my Mac with other files where I can't empty a file out of the garbage with the same error message.  For example, sometimes sound when I drag a photo to email to send to someone and then try to delete and remove the photo from the trash.  Its not actually used, but it does not remove the trash.  A COMPLETE computer restart is the only way to solve the problem.  I don't worry about trash what is until I do a restart.  This habit of can't do not until Yosemite is out and it is still happening in El Capitan. It is another example of the quality of Apple's OS fast downhills.

  • Impossible to delete the ghosts

    "ghost files", it's the best name I can get to those annoying files. I have 720 files, (it was a group of photos before they turned ghost) which cannot be deleted.
    When I deleted the folder, the files in the folder remained, stating that they were always fixed to the deleted folder. The files themselves, 720 all of them are on order, does not open and says that these files were deleted when I try to open them.
    When I try to delete them it does not say that these files do not exist. They are inaccessible in anything other than a search on the whole of the system. They claim to be in a non-existent folder under 'photos '. I do not understand where they are... When I search in 'pictures' alone, they come to the top, but it is only a single folder in 'pictures' and when I scan that they do not appear... So either they float data... or something is wrong... I'm getting a headache, and they are annoying me no end. For some they can be ignored, but I'm afraid, I'm a perfectionist and can't be beat there... any advice would be greatly, greatly appriciated.

    I am considering a system wipe, but it of unfortunately my system of work and has many paid programs assigned to this system alone which i could not with a thorough cleaning. It also has about 15 years of data on patients in it, which would be able to be saved, but that would require little time to transfer this im afraid I simply not.

    Hello

    Download MoveonBoot:
    http://www.Softpedia.com/get/system/boot-manager-disk/MoveOnBoot.shtml

    How to use the movement to start:
    http://www.EMCO.is/products/move-on-boot/features.php

    Kind regards
    Raymond

  • Impossible to delete the two files and shows me the error message windows does not properly

    Hello

    can't delete two files that actually a song file VLC webrib exdr video...
    cannot select the option to delete the time I click file tht it shows me the message "windows doesn't work maybe not properly" and the file stops immediately once that I close this error message... Please give me a solution to this

    Hi MakPatel,

    You can delete these files via the command prompt, if your window closes...

    (1) open the command prompt. (Click the Startbutton .) In the search box, type command, and then prompt in the list of results, double-click command prompt. )

    2) navigate to the download folder where the video file is present, using the "cd"command.

    For example, if your file is present in the "C:\Users\user1\Downloads".

    Type cd C:\Users\user1\Downloads and press enter in the command prompt.

    (3) Delete (Remove) the file name using the "del" command.

    For example, if your video file name is "sample.mp4.

    Led sample.mp4 type and press enter in the command prompt.

Maybe you are looking for

  • Aspire V5 - 573G making light and constant rattle

    Hey there guys and girls, I just got my new Aspire V5 - 573G yesterday and it's all just great. There is just one little thing that bothers me, it's the sound of the fan on the right side. It's a slight constant close rattle or purr every time that f

  • Impossible to surf the Internet wirelessly on WRT160N v2

    I have no problem, surf the web with cable and my wireless game adapter also picks up the wireless signal but my lab top will not display any web pages, not in internet explore or mozilla foxfire, but if I use the cable to play a game called runescap

  • Games fps will be declining and the delay of the computer

    Hey I'm running windows 7 Home premium on my Compaq Presario cq5320f and I have 2 GB of ddr3 ram and my processor is AMD Athlon II x 2 240 and my previous diet was 250 w, I upgraded to 600 w and I also put a GPU inside the PNY GTX 750 so my problem w

  • Disk Dell OEM of Windows 7 does not have a product key?

    My computer began to crash so I reformatted my computer and installed Windows 7 Professional using my OEM drive. After installation, my computer installed 70 something updates. Then, he says Windows must be enabled. For some reason any it will never

  • Smartphones blackBerry AND RECORDS

    Hello people... First of all, I would like to thank all who help. I have a Blackberry Curve 8530. Everything I get from App world is going in my download folder. I use the default theme. If I want to create a new fair record some of the apps I downlo