Can not delete the  last record ,  frm-40202 field must be entered

hi ,
i have built a form which contain master and details blocks
the problem is
when i look for a record by executing query on on transaction serial and try to delete this record from the master block it gives me new serial for the transaction and when i try to save it, it says
>frm-40202 field must be entered
where this field is required and i cant save it
although in another form when i delete from the master it gives me the previous record and it works properly
the question is :
why it gives a new serial when i delete the record ??if any one has any ideas pls help me
thank u
------- the master block has a trigger when-create-record
Declare>v_dummy number;
Begin
Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
>:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
END;
IF :PARAMETER.RNT_NO IS NOT NULL THEN
     :LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
          :LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
     :LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
END IF;

Hi ayadsufyan,
As it looks Andreas assumption of internal status change was correct. So taking into account this fact I would assume you are doing some data manipulation on the row you are unable to delete.
What I would suggest to do is to put the following code in your KEY-DELREC trigger :
clear_message;
message(:system.record_status);pause;Now when you delete the record you should get the INSERT status of the record. If so it definitely means you are doing some manipulation on the record you are trying to delete. From this point on you will have to pinpoint the offending code.
Best regards.
Edited by: GregorM on May 11, 2013 10:41 AM

Similar Messages

  • Can not delete record from the master block ,frm-40202 field must be entere

    hi ,
    i have built a form which contain master and details blocks
    the problem is
    when i try to delete a record from the master block it gives me new serial for the transaction and when i try to save it, it says
    >frm-40202 field must be entered
    where this field is required and i cant save it
    although in another form when i delete from the master it gives me the previous record and it works properly
    if any one has any ideas pls help me
    thank u
    ------- the master block has a trigger when-create-recoder
    Declare>v_dummy number;
    Begin
    Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
    From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
    And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
    >:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
    END;
    IF :PARAMETER.RNT_NO IS NOT NULL THEN
         :LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
              :LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
         :LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
    END IF;Edited by: ayadsufyan on May 8, 2013 2:03 PM

    If this is a FORMS question you should mark this one ANSWERED and repost your question in the FORMS forum
    Forms

  • Error when deleting a record:  "FRM-40202 Field must be entered"

    Dear all, please I need your help in this little problem.
    I am using Forms 10g , and I am having an issue when deleting a record at runtime. It is giving "FRM-40202 Field must be entered".
    I have reviewed the code but still cannot guess what could be the reason.
    Any idea please. Thanks
    Edited by: user562674 on 02/05/2011 12:35 ص

    Hi
    This error is caused due to the NOT NULL constraint u have in ur db for that item...
    u have 2 options to use ...
    1.Either u set the Required property of that item to > no
    2.Or u give it an intial value...
    To get ride of this error message...
    Hope this helps...
    Regards,
    Ammatu Allah.

  • FRM-40202:field must be entered

    In R12, under Service Contracts; when navigating between the two blocks 'FRM-40202' error is thrown indicating 'Field must be enetered'.
    Duplication Instructions:
    1) Create a new service contract with 2 usage lines and add 1 counter at subline level for each usage line.
    2) Now place the cursor in the 1st usage line, navigate to Lines (tab) --> Pricing/Products (tab) --> below it shows the related subline information (counter instance).
    Lines and Subline has parent-child relationship.
    Lines is a parent block and Subline is a child block.
    3) At subline level, we have three tabs (Effectivity, Pricing, Counters), but the data belongs to a single data block.
    4) When the cursor focus is in Counters tab for the first usage line, then change the cursor focus to the next usage line at Line level; this navigation will clear the subline level details and it throws the error 'FRM-40202:field must be entered'.
    5) Error is not shown when the cursor focus is in 'Effectivity' tab of subline and changing the cursor focus to next usage line at line level is successfull.
    6) Counters tab has 1 field which is marked as 'Required' and when the error is thrown, it clears the current block and cursor focus remains in this field.
    The same navigation in 11.5.10 instance doesn't cause any issues and there is no major code change from 11.5.10 to R12 for this navigation.
    Please suggest on how to overcome the above situation.
    Thanks
    Edited by: user641733 on Aug 17, 2009 12:37 PM
    Edited by: user641733 on Aug 17, 2009 12:37 PM

    Well, I found the issue. I created a text field to display the passed parameter value (for debugging purposes) and by default it was defined as a database field. The error was due to the "txt_misc" field being part of the query but not existing in the database. I have since figured out how to get my parameter passing and data querying example to work.
    New question:
    Is there a way to debug more than one form at a time (step from one form into another called form)?
    Last but not least, are there any Oracle Forms books that resemble the "Learn Visual Basic in 21 days" type format? I'd like a reference where I can look up sample syntax for a variety of tasks like ...
    - calling a form
    - passing parameters
    - querying data
    - SDI and MDI forms and their differences

  • Epub books show up in ipad on itunes but do not show up on ipad. Also can not delete the books from ipad in itunes

    epub books show up in ipad on itunes but do not show up on ipad. Also can not delete the books from ipad in itunes

    You have no choice but to lose your data back to the last backup you made.
    Here's how to do the recovery.  Note you may have to try to get into recovery mode more than once to succeed:
    HT1808
    I'm sure next time, you'll be more vigilant about keeping current backups.

  • Form wont delete the last record

    Hi All
    I have the follwoing Form
    e.g
    First_name || Last_name || Emp_id
    The Forms works ok when populating the form and saves,you can delete all the records except for the last record if you delete the last record it's save.
    Does anyone whan what could be the problem.
    please help i'm new to Forms.

    you can delete all the records except for the last record if you delete the last record it's saveSo, can or cannot you delete the last record?
    What do you mean with "it´s save"?

  • HT1926 I am trying to delete an old version of itunes in my ibook G4 so I can install the newest version and can not delete the old version because it says I don't have enough privileges, help?

    I am trying to delete an old version of itunes in my ibook G4 so I can install the newest version and can not delete the old version because it says I don't have enough privileges, help?

    iTunes is not installing because its incompatible with your OS. When installing the correct version the new version will update the older version, there is no need to uninstall first.
    The last version of  iTunes compatible with OSX 10.4 is iTunes 9.2.1
    You can down load iTunes 9.2.1 here:
    iTunes 9.2.1

  • I have problem syncing my music to ipad. Most of the songs are duplicated but only in ipad. I checked the music library in itunes and there didn't have the duplicated songs like in the ipad. I can not delete the duplicated songs inmy ipad.

    I have problem syncing my music to ipad. Most of the songs are duplicated but only in ipad. I checked the music library in itunes and there didn't have the duplicated songs like in the ipad. I can not delete the duplicated songs inmy ipad.

    Hi, Abril_Perez17.
    This may be related to a new feature embedded in iOS7 that shows all purchased music by default.  Go to Settings > Music, then turn off Show All Music.  See if the issue ceases once the feature has been disabled.  This information is located on page 63 of the user guide below. 
    iPhone User Guide
    Regards,
    Jason H. 

  • Every time I sync my iPhone with iPhoto I end up getting duplicate photos on my iPhone. The other problem is that I can not delete the dups on my iPhone.   Does anyone have an answer to this problem?

    Every time I sync my iPhone with iPhoto I end up getting duplicate photos on my iPhone. The other problem is that I can not delete the dups on my iPhone.   Does anyone have an answer to this problem?

    Mike whether I create a folder within the Pictures Folder that iTunes uses to sync photographs or just copy them into the main folder the result is the same, I end up with Photo Library plus another album containing an identical set of pictures as contained in Photo Library.
    The User Manual for iOS5 states ...
    You can create, rename, and delete albums on iPhone to help you organize your photos and videos.
    Create a album: When viewing albums, tap Edit, then tap Add. Select photos to add to the new album, then tap Done. Note: Albums created on iPhone aren’t synced back to your computer.
    Rename an album Tap Edit, then select an album.
    Rearrange albums Tap Edit, then drag up or down.
    Delete an album Tap Edit, then tap the delete sign.
    Yes I can Add a new Album, but cannot delete an album already created. The delete sign does not appear.
    In iTunes the only folder that I can see listed is the man one into which iTunes stores pictures, which I have named iPhone Photos.
    When I look on my PC this iPhone Photos folder contains another folder named iPod Photo Cache and a multitude of folders created by iTunes, the named F00, F01,F02 etc etc. and a Photo Database file.
    Now whether I create a seperate folder within iPhone Photos to store my favourite photos in, or just copy them all into the iPhone Photos folder without being encased within another folder, or create a folder inside the iPod Photo Cache folder the result is the same ...
    I end up with Photo Library plus another album containing an identical set of pictures as contained in Photo Library.
    I am going around in ever decreasing circles here and getting nowhere fast!! 

  • DB Adapter polling : Not deleting the read records

    Hi,
    I have a simple BPEL process to poll a database table to delete records after reading them.I tried testing by inserting a single record into the table.BPEL is simply creating new instance (as it is not deleting the read records).
    I am using fusion middleware version 11.1.1.3.0.
    Also i am not able to view flow trace.I see a row under flow trace but there is no link to open audit trail or flow page.How to enable this.
    thanks,
    ashok

    Hi Naresh,
    Here is the contents of jca file:
    <adapter-config name="readDB" adapter="Database Adapter" wsdlLocation="readDB.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/ArbonneProd" UIConnectionName="ArbonneProd" adapterRef=""/>
    <endpoint-activation portType="readDB_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="readDB.CustomersToOracle"/>
    <property name="QueryName" value="readDBSelect"/>
    <property name="MappingsMetaDataURL" value="readDB-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="10"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    Under trace i see below record:
    Instance Type Usage State
    ReadDB of service:<instanceid> JCA Adapter Service Completed

  • I want to install the latest version of i tunes. I recieve an error that the MSI file is missing. It won't load the new version and I can not delete the software either. HELP!

    I have a windows computer running xp. I can not load the latest version of I tunes. I receive an error message that the 'msi" file can not be found. I can not delete I tunes for the same reason.
    HELP

    ItIt is the the ituens msi file
    From: Apple Support Communities Updates
    [email protected]
    Sent: Monday, February 27, 2012 3:40 PM
    To: escow 39
    Subject: - Re: I want to install the latest version of
    i tunes. I recieve an error that the MSI file is missing. It won't load the
    new version and I can not delete the software either. HELP!
      <http://images.apple.com/support/images/emails/apple_logo_gray.gif>
    <https://discussions.apple.com/index.jspa> Apple Support Communities
    Re: I want to install the latest version of i tunes. I recieve an error that
    the MSI file is missing. It won't load the new version and I can not delete
    the software either. HELP!
    created by b noir <https://discussions.apple.com/people/b+noir>  in iTunes
    for Windows - View the full discussion
    <https://discussions.apple.com/message/17708214?ac_cid=142432#17708214

  • I can not download the last Iphoto update, and in the actual version 9.4.3 it does not work the sending photos by e-mail.

    I can not download the last Iphoto update that I already purchased it by app store, and in the actual version 9.4.3 it does not work the sending photos by e-mail.

    Thanks for your replay,
    Finally the Iphoto 9.5 was installed...any way ..I had to go to app store to purchase it because the previous version did not updated autimatically... only shoed me that there is a new version ...but it guided me to the app store to purchase it.... and I did it because I did not know that the up date was free...and the sistem did not adviced me about that...
    I have the last up date of os x 10.9 already...
    in this new version I have no problem to send the photos by e-mail... but in the previous one it allways showed me an error message like ¨I should try later because the server does not work¨  but I tryed with 4 differents e-mail account that worked perfectly in the app Mail.
    any way, this new version is ok..
    thenks a lot
    Damian from Buenos Aires

  • I can not delete the $ symbol from template "green grocer" under invoice templates!

    I can not delete the $ symbol from template "green grocer" under invoices, how do I do it, so it will stay deleted and not just keep coming back?

    Select the cells:
    Go to Inspector >Table > Format > Cell Format > Number or whatever you want other than currency.
    The table is actually a spreadsheet.
    Take the time to investigate where all the formatting resides in toolbars, menus and inspectors, most of it is where you would expect to find it.
    Peter

  • I changed recently because apple ID not remember the password. More joined the icloud not changed, still with the old ID and now I can not delete the account because the icloud iphone app search I do?

    I changed recently because apple ID not remember the password. More joined the icloud not changed, still with the old ID and now I can not delete the account because the icloud iphone app search I do?

    What?
    Try posting in your native language, the above makes no sense.

  • Today I installed serif photo plus, and got the computer completely crazy, I've uninstalled that program but I can not delete the photo plus toolbar, how I do?

    Today I installed serif photo plus, and got the computer completely crazy, I've uninstalled that program but I can not delete the photo plus toolbar, how I do?

    There may be an add-on installed for the toolbar. Go to Tools>Add-ons (or about:addons), select Extensions tab and remove the toolbar from there (if it's there)

Maybe you are looking for