FRM-40400: Transaction complete: 1 records applied and saved

Dear All,
Hope all of you are doing well,
Pls go through my problem...
here is an application developed based on Oracle Forms & Reports 6i.
I wrote a code, like for some specific Users, various permissions.
Ex: User A (Payroll Person), User B (HR)
for employee Master Data HR is the right person to modify master data and all the remain are not permissible.
I query one person (from Non HR user), try to modify Master Data  then it given user defined message -
"you are not authorized person to modify Master Data" [OK] - so no changes done
then I clicked the Query button directly,
it gave the message - "Do you want to save the changes you have made"  [Yes] [No] [Cancel]
when I clicked Yes :
" FRM - 40400 : Transaction complete : 1 records applied and saved "
In database also it is saving the record..
Mean for unotherised user also It's modifying the data.
Please help me the way to handle this issue..
Thanks in Advance...

As salamualikum, Md Sirajoddin
You wrote
I query one person (from Non HR user), try to modify Master Data  then it given user defined message -
"you are not authorized person to modify Master Data" [OK] - so no changes done
That means your code works in some condition. Right ?
Place your code at Pre-Commit trigger at form level.
Hope this helps
Hamid

Similar Messages

  • FRM-40400 No changes to apply

    Dear friends,
    I'm using a button to do a commit_form, i have 3 blocks (2 database blocks, 1 non database block).
    when ever i push the button for the first time it commits the form without any messages, but after that it always shows (FRM-40400 No changes to apply).
    i used :system.message_level like following:
    N:= :SYSTEM.MESSAGE_LEVEL;
    :SYSTEM.MESSAGE_LEVEL := 0;
    COMMIT_FORM;
    CLEAR_FORM(NO_VALIDATE);
    :SYSTEM.MESSAGE_LEVEL := N;
    but the message still appears after 1st push for the button.
    can any one help me on this issue.
    Please note that this issue happens only if i open the form using open_form method, but if i use new_form it works without any messages.
    Best Regards
    I found the solution, if you use call_form, you will be able to set the message level as you want. without being overridden by the calling form.
    Edited by: Mohammad1981 on Feb 12, 2010 1:23 PM
    Edited by: Mohammad1981 on Feb 12, 2010 1:28 PM

    i'v found the answer after posing the question. you can find it above.

  • Getting FRM-40400 but data is not in table

    I have a form with three data blocks. The first one is Database Data Block = no because it is used for query purposes only. The second one is Database Data Block = yes and is the only data block in which data gets entered into a table. The final data block is Database Data Block = no because it is a control block that houses my display items and buttons. Now, I am trying to get the data to save by way of a SAVE button. On the button I have code to GO_BLOCK() to the second database block and then perform a commit; I get a message back FRM-40400 which says Transaction complete: 1 records applied and saved. However when I open up the table in the database, nothing is there.... I imagine that this tells me that the form is not actually committing as it says. So, how do I find out what exactly my form is doing?
    Thanks!

    I've modified my form a bit since I posted this...I created a master-detail relationship between my first data block and the second one. I had a suggestion from someone else on this topic that when I press the save button, I should go_block('detail block') before performing the commit and that should work. Well, that didn't work either. It's still trying to commit the first data block. I used commit and commit_form because I wasn't sure which one was appropriate for my form.

  • Need to show frm-40400 message

    Hi,
    I would like to show this FRM-40400 message for non database field update to another table .
    Message should display in the status bar as "Frm-40400 Transaction Complete. 1 record applied and saved"
    Please tell me how can i handle this issue.
    Thanks in advance,

    Hi
    While updating the table, counts the record saved to a variable SQL%Rowcount;
    Like below
    Declar
    Cts number ;=0;
    Begin
    Update Table..
    cts := Sql%rowcount;
    Message('Total Record Affected is '||CTS);
    End ;

  • Replacing FRM-40400 message

    My user doesn't want FRM-40400 'Transaction completed ...' in an alert. I've added the message to the Headstart message table to override the default and made it a severity Message. But now I don't know how many records were inserted or changed.
    Is there another possibility ?

    Gerrit,
    If you are on headstart version 5 or above, do the following:
    Open your application library and change the line
    -- show oracle messages in alert
    qms$forms_errors.set_oracle_message_target('A');
    into
    -- show oracle messages in console
    qms$forms_errors.set_oracle_message_target('M');
    Now this message pops up in the console instead of in an alert that the user has to acknowledge (only when forms needs to display another message after the first one, the first message will still pop up in an alert).
    Regards, Marc Vahsen
    Headstart Team

  • Display the FRM-40400 at the bottom not with popup

    Hi,
    I need help with one form i have to modify, after modifiying the form, i noticed that the message FRM-40400 is displayed as popup but i just want this message to be displayed at the bottom of the form. Do you have any idea?
    Thanks.

    What version of Forms are you using?  What changes did you make to the form?  Did you make changes to the ON-MESSAGE or ON-ERROR triggers?
    The most likely cause of the FRM-40400: Transaction Complete message being promoted to the Default Alert is that you are writting a new message to the status bar but you didn't call the CLEAR_MESSAGE() built-in first.  It is always good (and recommended) practice to call the CLEAR_MESSAGE() built-in before displaying a new message with the MESSAGE() built-in; this ensures the status bar is clear before the message is displayed.  If there is a message already displayed in the status bar when a new message is sent to the status bar then the current message is promoted to the default Alert so the new message can be displayed.
    What message is in the status bar after you click OK on the popup (default Alert)?
    Craig...

  • FRM-40405, No Changes To Apply Message

    Environment : Forms 9i, Web, 9iAS
    Whenever a transaction is made, The "No changes to Apply" message is get displayed and then the transaction is applied and saved message appears.
    How can i get ride to the First message?
    ON-ERROR trigger containss the following code
    if error_type = 'FRM' and error_code = 40405 then
         null;
    else
    message(error_code ||':'||error_text,no_acknowledge);
    end if;
    Eben then, No change to Apply message Appears.

    This is happening for all the Forms in our Application Just a guess...
    Sounds like you are running your forms from a "master form" using OPEN_FORM(form_name, ACTIVATE, NO_SESSION); This will do the commit on both the called form and the calling form (and that's where the FRM-40405 comes from). You can use OPEN_FORM(form_name, ACTIVATE, SESSION); but this will create a new session for each form being called.
    Try the CALL_FORM built-in instead.
    Hope this helps (if my guess is wrong, forget it:)
    Gerald Krieger

  • How can i record sound and save it in a file..?

    Can someone plz provide me a simple code for recording sound and saving it in a file..

    Nope...all of the code to do that is complicated...and since you apparently can't figure out google, I'm afraid you're likely out of luck.

  • I have two faults! 1, an error comes up in Ps CC 2014 "could not apply the saved panel configuration, restring to default and my tools have disappeared completely and anything ive tried I cannot get them back not even the drop down menu in 'window' helps

    I have two faults! 1, an error comes up in Ps CC 2014 "could not apply the saved panel configuration, restring to default and my tools have disappeared completely and anything ive tried I cannot get them back not even the drop down menu in 'window' helps at all. And 2, Lr everytime I load it up it gives me the option to retry or switch to and it takes a while for me to even get anywhere with it I think it has something to do with the catalogs? I've been using these programs for a few years now on a Mac...no problem but when I use a PC when I'm away coz it's the (only) comp available these happen PC's are so useless! Please can anyone help??...

    I can give a few suggestions on Photoshop CC 2014, but Lightroom is a separate forum and you should ask Lr questions there.
    First close Photoshop.
    Then start Photoshop by double-clicking on it's icon and very quickly after that, hold down the ctrl-alt-shift keys until you see the reset dialog. answer "Yes" to delete settings, and let Photoshop continue to load.
    It's tricky to do and may take a few tries, but at least it should reset Photoshop CC 2014 to defaults.
    Gene

  • Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in

    Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in the associated meta data file with the "Control S" command) are not applied to the opened PS file.  HELP!

    If you are working with a file you modified in Lightroom, you should go to the Lightroom Photo menu and choose Edit in... and the version of Photoshop you want to open it in.
    There a dialog will ask if you want to transfer the LR settings you made to your photo when you open in Photoshop.
    Gene

  • FRM - 41105 You Cannot query records without a saved parent record

    I have 3 data blocks. The contro data block have document type and document number if we come to new record(I have written execute query for both header and detail part) the header block will show the detail of the documnet header(Header Details) and detail block will show the detail part.
    But my problem is when new record instance only the header block is querying and detail block is not querying and giving an error message(*FRM - 41105 You Cannot query records without a saved parent record*)!!
    Plz help me!!
    Thanks in advance,

    yea header tables PK is refered in the details table.
    and i have master record created already and have the detail record for those master records in the table.
    i want to query the detail record related to that master when we select a document number and document code in the control block.
    Its querying the master detail relevent to that header and giving this error messge while quering the detail record..

  • Why do I keep losing audio/recorded tracks and SFX in my projects? I have tried: Saving as archive file/searching package contents etc. to no avail. Can anyone help?

    Why do I keep losing audio/recorded tracks and SFX in my projects? I have tried: Saving as archive file/searching package contents etc. to no avail. Can anyone help? It keeps telling me 'Audio file not found', and seems to be different tracks in the same project each time too.

    iamthewaughrus wrote:
    I also have this problem using Garageband in a school network situation when students open their project on one station, save it to their network drive, and later open it at a different station.  90% of the time there will be no issue, but sometimes audio files are lost. (Garageband '11, iMacs)
    That sounds like it might be a failure of the students to perform a Save As and check Archive Project when they do. This asks GB to pull all the files it needs into the associated .band document rather than point to them externally (and then risk not having them be there).

  • Hello I am having problems viewing areas of a pdf...it's a form fillable pdf that someone else has completed and saved..I'm able to view all but the areas that have been filled in.. any info would help

    Hello I am having problems viewing areas of a pdf...it's a form fillable pdf that someone else has completed and saved..I'm able to view all but the areas that have been filled in.. any info would help

    Hi Bob, I just tried your suggestion, but the interactive PDF is in spreads by default, no way to change the setting. When I choose to view by single page in Acrobat, it displays a single spread.
    When I choose to view by spreads, it displays 4 pages, two spreads. That's the topic of this whole discussion, I believe. I do own CS 6 at home, however my employer supplied me with CS 5.5. And I have very little, if any, influence on purchasing.
    So, I have no good way to make an interactive PDF (with differing recto/verso headers and footers), that is accessible and shows the correct header/footer. It's either single pages (with one header/footer), or recto/verso headers/footers but PDF only as a spread, as well as I can tell.
    Unless you know something else I can do...
    Best, Marilyn

  • Since I updated to latest software on ipad cannot sync. with computer.  Makes it to step 7 however says 'waiting for changes to be applied' and never completes sync.

    Since I updated to latest software on ipad cannot sync. with computer.  Makes it to step 7 however says 'waiting for changes to be applied' and never completes sync.
    thx for the help,
    Tony

    Hello Marcia,
    Sorry you are having trouble syncing content with your iPhone 5. I found an article that might help with this syncing issue:
    iTunes: May become unresponsive when connecting iPhone, iPad, or iPod touch
    http://support.apple.com/kb/TS3219
    Also, you can delete the songs from the iPhone without syncing by just swiping from left to right over the song to get a delete button. 
    I hope this helps!
    Best,
    Sheila M.

  • Complete (Transaction complete) and Delete tab

    Hi Friends,
    1. In extended classic scenario we have Complete (Transaction complete) and Delete tab
        So when we can suggest to the users "to Complete and Delete the purchase order"
    2  and Few of the PO's Complete tab is disable...Can some one can help on this?
    Thank You!
    Shrinivas

    Hi Shrinivas,
    Completion Tab is available only in sourcing cockpit (Carry Out Sourcing), the requirements which are no longer valid must be either completed and removed from the purchaser's work area using the completion tab.
    PO deletion must be used when the user wants no longer to order that PO or if the PO has resulted in some error's while in transmission and can't be amended any further must be deleted.
    The reason behind some PO's completion tab disabled is because the subsequent follow on documents is not yet posted and hence can't be completed unless there is GR and Invoice entries posted against the same.
    Regards
    Anirban

Maybe you are looking for

  • Missing options in text message

    When in text messages after selecting a text messages but long touch on the text options 'copy' and 'more' come up. But further options under more is missing. Also in the middle of a phone call the phone gets disconnected and apple logo appears for s

  • When i turn on my computer, all i see is a white screen.

    well, after hours of searches I couldn't find any problem similar to mine. I am not really smart when it comes to computer software and all that but I will try my best to describe my computer and its problem. Ok, I have a Compaq windows 7 home premiu

  • Commit statement in badi method

    hi all, i am using commit statement in badi method save_data, it is put after function module, in function module i have used insert and update statement, if i do like that then the commit statement refresh the global data but update the table, if i

  • Hooking up iPod to another PC

    My 3rd gen. ipod's itunes library lives in another pc which is currently being repaired. I purchased a laptop for the time being. Question is, how can I transfer my library in my ipod to this laptop without losing everything in the ipod, as I'm afrai

  • FREIGHT DISCOUNT QUERY

    Dear All, I am having Query regarding Freight: Vendor is sending material (A) on which VAT is applicable Let us say he sends Qty 1000 @ 10 So BAsic Price is 10000 Vat @ 4% 400 1) So Price inclusive VAT is 10400 Rs The Freight is Applicable on the MAt