Updating the records

can anyone plz tell me how to update the records
in the browser itself?

Hi,
See browser is client-side and not server-side. If at all you need to update any record shown in the browser means, it can only be done using javascript or vbscript. But it won't gets reflected in the database unless you do it in server-side.
Vijay.

Similar Messages

  • Windows Server 2008: Sysprep Error: Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]

    I have a base template (which has never been sysprep'd) from which I create linked clones.  After the linked clone comes up, I run the following command:
    c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /reboot /unattend:c:\windows\panther\unattend.xml
    This works fine for the first few linked clones, but after about 3-4 linked clones are running, I start to hit "A fatal error occurred while trying to sysprep the machine."
    ****c:\windows\panther\setuperr.log****
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    ****c:\windows\panther\unattend.xml****
    <?xml version='1.0' encoding='utf-8'?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>en-US</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</UserLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <Password>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </Password>
                </AutoLogon>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <TimeZone>Pacific Standard Time</TimeZone>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ProductKey>7M67G-PC374-GR742-YH8V4-TCBY3</ProductKey>
                <ComputerName>*</ComputerName>
            </component>
        </settings>
    </unattend>
    ****c:\windows\panther\setupact.log****
    2013-03-29 16:40:07, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:40:07
    2013-03-29 16:40:07, Info       [0x0f004e] SYSPRP Initialized SysPrep log at c:\windows\system32\sysprep\Panther
    2013-03-29 16:40:07, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2013-03-29 16:40:07, Info       [0x0f0056] SYSPRP ValidateVersion:OS version is okay
    2013-03-29 16:40:07, Info       [0x0f005e] SYSPRP ScreenSaver:Screen saver was already disabled, no need to disable it for sysprep
    2013-03-29 16:40:07, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'REBOOT'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2013-03-29 16:40:07, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [c:\windows\panther\unattend.xml]...
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: [c:\windows\panther\unattend.xml] meets criteria
    for an explicitly provided unattend file.
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: Using unattend file at [c:\windows\panther\unattend.xml].
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [c:\windows\panther\unattend.xml] either doesn't exist or passed
    validation
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Found unattend file at [c:\windows\panther\unattend.xml]; caching...
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Processing unattend file's 'generalize' pass...
    2013-03-29 16:40:07, Info                  SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
    2013-03-29 16:40:07, Info                  SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
    2013-03-29 16:40:07, Info       [0x0f003f] SYSPRP WinMain:Processing 'cleanup' request.
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    2013-03-29 16:48:52, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2013-03-29 16:48:52, Info       [0x0f0059] SYSPRP ScreenSaver:Screen saver was originally disabled, leaving it disabled
    2013-03-29 16:48:52, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2013-03-29 16:48:52, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:48:52

    Hi,
    This is typical of an OEM license issue.
    To avoid this in the future you should look at site/volume licensing.
    Anyway.
    so, first check if you can re-arm by runing the
    slmgr.vbs /dlv and check the re-arm counter, if it set to zero.. you need to do the following :
    http://support.microsoft.com/kb/929828 (set the <SkipRearm>1</SkipRearm> like in the example, note: this option will make the product key window to appear in the setup process).
    you can also try running : slmgr.vbs -rearm, to rearm Windows.
    after that, let's come back to the sysprep process.. for syspreping already syspreped machine we have to change few keys in the registry :
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    CleanupState:2
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    GeneralizationState:7
    After done with the registry, do the following :
    Start -> Run : msdtc -uninstall (wait few seconds)
    Start -> Run : msdtc -install (wait few seconds)
    Restart the machine
    Check the registry for the right registry keys values
    sysprep with the new XML answerfile.
    Source: Olegm
    If you find my information useful, please rate it. :-)

  • Why can't I select or update the Record using the PreparedStatement?

    the DB is oracle9i,here is the test table
    test
    id number;
    name char(10);
    intro char(10);
    I have insert a record in the table.
    Now I will select or update the record by using the PreparedStatement here is my code:
    sqlStr = "update test set intro = ? where name =?";
    PreparedStatement stmt = conn.prepareStatement(sqlStr);
    stmt.setString(1,"my name is irixwang");
    stmt.setString(2,"irixwang");
    int is = stmt.executeUpdate();
    if (is >=1 )
    System.out.println("ok");
    It will not work ,but where I change the update condiction as followed:
    sqlStr = "update test set intro = ? where id =?";
    PreparedStatement stmt = conn.prepareStatement(sqlStr);
    stmt.setString(1,"my name is irixwang");
    stmt.setInt(2,100);
    int is = stmt.executeUpdate();
    It works well,why?
    please help me!thk!!!!

    I doubt it works "well" in either case since you are inserting a string that is longer than 10 characters into a field that only holds 10 characters. But to your question....
    A char data type holds a fixed number of characters - in your case 10.
    Because it holds 10 characters it will never hold 9, regardless of what you think is in the field it will always have 10 characters in it. The value you are using for query for name is 9 characters. Since 9 characters, regardless of content, will never be equal to 10 characters there is no way that it will update.
    So your choice is to either use a varchar, which holds a variable number of characters, or to always use 10 characters for your query (pad it with spaces.)

  • How to update the record in a File (without closing Writer)?

    Well i've got one issue:
    I want my program to record in a file updating any time i.e the records are added in append.
    But i want the record must be done in a file even if the Writer is not closed because I'd like to see the all logs of user and the main thing is sometimes there could be issue of software crash, powercut off or any So for that reason i 've made code like this but it doesn't update but it only override:
    public boolean write(String s){
            boolean isFinished = false;
            try{
                FileOutputStream out = new FileOutputStream("C:\\new.txt"); 
                int i = 0;              
                while(i != s.length()){
                    out.write(s.charAt(i));
                    i++;
                //here i've not closed file output stream
                isFinished = true;
            catch(IOException i){
                i.printStackTrace();
                isFinished = false;
            return isFinished;
        }

    Well, Thanks for the help but,. i didn't understand
    try not opening the file every time. As I only know that I need to open a file if i would like to update the records..
    The update is not happening :
    Firstly it shows like this (new.txt):
    STOPSecondly it must show like this (new.txt) BUT NOT HAPPENING AS I EXPECTED:
    STOPSTOPBut it's not hapenning

  • Function module or BAPI that is used to update the records in RBKP table.

    Hello All,
    Can anybody please give me the name of any Function module or BAPI that is used to update the records in RBKP table.
    Please help me
      I need to change the fiscal year in RBKP table
    Thanks in Advance,
    Regards,
    LIJO

    Hi,
    You can use the BAPIs,
    BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_RECEIPT_POST  Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
    Hope this helps.
    Regards,
    Renjith Michael.

  • Updating the  records  problem urgent

    Hi All,
    i have developed search page by using the query region. in that i have created update image icon to navigate update page to update the records. i have 4 search records, when i click the go button 4 records are come to the advance table. i will select any one of the row and select update icon to update the records by using the apply button in update page.when i click the apply button its navigate to the search page and showing only updated records row only. i did not get all 4 rows in advancetable.I re-query on the page, but I can’t get the other 3 rows back unless I close the page and come back in.
    here i am not facing any error, after update the records and come back to the main page i am not getting all records only updated row records Only 1 of the four rows only appear.
    can any one help me its urgent
    Thanks in advance.

    Hi Avajain, thanks for your reply.
    i have used below code for apply button.
    if (pageContext.getParameter("Apply") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("apply");
    OAException message = new OAException("POS","MODPOS_PROGRAM_UPDATED_CONF",
    null,OAException.CONFIRMATION,null);
    pageContext.putDialogMessage(message);
    pageContext.forwardImmediately("OA.jsp?page=/xxaam/oracle/apps/pos/program/webui/SupProgramPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    AMCODE
    public void apply()
    getTransaction().commit();
    Thanks

  • FRM-40509: ORACLE error : Unable to update the record.

    Hi,
    I am having the following code in delete button.
    declare
         v_button  NUMBER;
    begin
      IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
                   v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
                   IF ( v_button = alert_button1 )
                        THEN
                          message('before insert');
                          insert into chng_cntrl_job_dtls_log
                          select * from chng_cntrl_job_dtls
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before delete');
                          delete from CHNG_CNTRL_JOB_DTLS
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before commit');
                          silent_commit;
                          go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
                          P_DELETE_SET_PROPERTY;
                          clear_form;
                   ELSIF ( v_button = alert_button2 )
                        THEN
                          null;
                END IF;
         ELSE
                p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
      END IF;
         exception
              when others then
              message ('Exception in delete version button');
              end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
    i am getting message till before commit.
    i am not able to check the error message in help as it is diabled in our form builder.
    I have checked the privileges also. they are fine.
    Please advice.
    Edited by: Sudhir on Dec 7, 2010 12:26 PM

    This error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
    I see in the OP that this key is disabled. Change the on-error code then:
    begin
       message(dbms_error_code||'-'||dbms_error_text);
       raise form_trigger_failure;     
    end;     Edited by: InoL on Dec 7, 2010 8:50 AM

  • To see the username and datetime who/when created and who/when last updated the record

    Excel Addin and Web UI future:
    We need to see the username and datetime who/when created and who/when last updated the record.
    We need these columns in tables (as shown columns with status error)
    from Moscow with money

    Vincent,
    By the way, Just this week
    we have +20 MDS-users
    from Moscow with money

  • The form claims to update the record, but isn't.

    Maybe I just need a sanity check, but this has been driving me bonkers.
    This is in a "when-button-pressed" trigger. Everything seems to be fine in the properties of the form fields, and I even get a "FRM-40400" message saying that two records have been updated in the database (since there are two tables attached to this form), but when I go back to the database table, the records have not been populated. There's actually more to this trigger, but since the records aren't being updated, the rest of the trigger can't do its job.
    I'm posting the beginning of the trigger just so someone can sanity check me. The fact that I'm even getting the FRM-400 message that says it's updated is confusing me. Everything looks fine from the debugger standpoint. Is there something in here that looks like it would prevent me from being able to update the database? I've left in everything, not just what I deem to be the "relevant" portions, just because I'm not sure what might throw it off.
    (anything saying 'soft_messages' can be ignored, it is our own internal way of recording alerts and what kind).
    ---------begin code snippet------------------------------
    DECLARE
         subj VARCHAR2(500);
         v_body VARCHAR2(5000);
         Reqtype varchar2(25) := :INVENTORY.Request_type;
         uft UTL_FILE.FILE_TYPE;
         fpath VARCHAR2(100);
         fname VARCHAR2(100);
         i NUMBER;
         ret NUMBER;
         v_db_name varchar2(50);
         v_support_officer varchar2(35);
         v_owner varchar2(35);
         v_wastemp      NUMBER;
         cust_name VARCHAR2(50);
         cust_phone VARCHAR2(50);
         cust_email VARCHAR2(50);
         cust_test VARCHAR2(50);
         al_button Number;
         msg_txt VARCHAR2(1500);
         V_SMTP_Mailer Boolean default False;
         to_whom VARCHAR2(1000);
         Missing_info exception;
         Proc_failed exception;
         v_node number;
         v_id number;
    BEGIN
         -- Changes the email address so that in production, it goes to the contact, in test it doesn't.
         If v_db_name ='PRODUCTION' then     
              if     :INVENTORY.contact_email is not null then
                   to_Whom := to_Whom||';'||:INVENTORY.contact_email||';';
              else
                   to_Whom:= to_Whom||';';
              end if;
         END IF;
         Message('Working........Please wait');
         SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
         select op_sys.current_db_name into v_db_name from dual;
         --Check request type before completing the process
         IF :INVENTORY.VENDOR_NO = 632 THEN
              If :INVENTORY.Request_type ='DISCONNECT' then
                   If :INVENTORY.bill_hierarchy is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Billing Hierarchy before completing the process');
                   Elsif
                   :INVENTORY.auth_code is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Authorization/Host Code before completing the process');
                   End if;
              ELSIF
              :INVENTORY.Request_type ='START' THEN
                   If :INVENTORY.bill_hierarchy is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Billing Hierarchy before completing the process');
                   Elsif
                   :CARD.node is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Node/Card Number before completing the process');
                   Elsif
                   :INVENTORY.auth_code is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Authorization/Host Code before completing the process');
                   End if;     
              End if;
         ELSIF
         :INVENTORY.VENDOR_NO = 1268 THEN
              If :INVENTORY.Request_type ='DISCONNECT' then
    If :INVENTORY.bill_hierarchy is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Billing Hierarchy before completing the process');
                   Elsif
                   :CARD.node is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Card No before completing the process');
                   Elsif
                   :INVENTORY.auth_code is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Authorization Code before completing the process');
                   End if;     
              ELSIF
              :INVENTORY.Request_type ='START' THEN
                   If :INVENTORY.bill_hierarchy is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Billing Hierarchy before completing the process');
              Elsif
                   :CARD.node is null THEN
                   SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                             soft_messages('E',true,'Please enter card number before completing the process');
                   elsif
                   :CARD.folder_id is null AND :inventory.vendor_no = 1268 THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter folder ID before completing the process');
                   elsif
                   :INVENTORY.PAC is null AND :inventory.vendor_no = 1268 THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter participant access code before completing the process');
                   Elsif
                   :INVENTORY.auth_code is null THEN
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
                        soft_messages('E',true,'Please enter Authorization Code before completing the process');
                   End if;     
              End if;
         END IF;
         If :INVENTORY.tsr_no is null THEN
              soft_messages('E',true,'Please enter the TSR number.');
         elsif
         :INVENTORY.csa is null then
              soft_messages('E',true,'Please enter the CSA number.');
         elsif
         :INVENTORY.tsr_no is null and :INVENTORY.csa is null then
              soft_messages('E',true,'Please enter the TSR number and CSA number.');
         end if;
         if :inventory.vendor_no = 632 then
              v_node := :card.cnt_card;
              v_id := :card.cnt_id;          
              if v_node > 1 then
                   soft_messages('E',true, 'Only one node/account # is required for request, Please correct to continue');
              end if;
         end if;
         if :inventory.vendor_no = 1268 then
              if :card.folder_id is not null and :card.node is null then
                   soft_messages('E',true,'Please enter card number to continue');
              elsif
                   :card.node is not null and :card.folder_id is null then
                   soft_messages('E',true,'Please enter folder ID to continue');
              end if;
         end if;
         if :inventory.vendor_no = 1268 then
         v_node := :card.cnt_card;
         v_id := :card.cnt_id;     
         if v_node <> :inventory.num_requested and v_id <> :inventory.num_requested then
              soft_messages('E',true, 'The node and folder ID entered must equal the number requested , Please correct to continue');
              end if;
         end if;
         If (:inventory.tsr_no is not null AND :inventory.csa is not null
         AND :inventory.bill_hierarchy is not null AND :card.node is not null
         AND :inventory.auth_code is not null) then
              msg_txt := 'Are you sure you want to complete this request: '||:inventory.REQUEST_NO||' ?' ;          
              al_button :=     DISPLAY_ALERT('CG$ASK_COMMIT',msg_txt);
              --If status change is requested          
              If al_button = 88 then     
                   SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');     
                   If Reqtype = 'START' and :INVENTORY.status = 'PENDING START' then
                        :INVENTORY.status :='ACTIVE';     
                        :INVENTORY.COMPL_DATE := SYSDATE;
                   :INVENTORY.COMPLETED_BY := USER;          
                   Elsif Reqtype = 'START' and :INVENTORY.status = 'ACTIVE' then
                        :INVENTORY.status :='ACTIVE';
                        :INVENTORY.CREATE_DATE := SYSDATE;
                        :INVENTORY.CREATE_USER := USER;
                        :INVENTORY.COMPL_DATE := SYSDATE;
                        :INVENTORY.COMPLETED_BY := USER;          
                   Elsif Reqtype = 'DISCONNECT' and :inventory.status = 'PENDING DISCONNECT' then
                        :INVENTORY.status :='DISCONNECTED';
         :INVENTORY.COMPL_DATE := SYSDATE;
         :INVENTORY.COMPLETED_BY := USER;
                   End if;     
              end if;     
    /* something is not letting the commit for the card block happen*/
              :SYSTEM.MESSAGE_LEVEL := 5;
              COMMIT_FORM;
              :SYSTEM.MESSAGE_LEVEL := 0;
              SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');     
              if al_button = 88 then
                   soft_messages('I',false,'Request has been successfully processed.');
         else
                   soft_messages('I',false,'This Request has not been saved.');
              end if;
    ------------end code snippet-----------------
    Everything after this point hinges on the data having been committed.
    This is unfortunately code I've inherited, so I'm not sure why the former owner decided that just because you pressed "yes" the request should be declared successfully processed. I've cleaned up what's listed above, but for debugging purposes I've planted little messages throughout this code to let me know what the state of some of the variables are, and everything looks to be correct.
    Why would I get a FRM-40400 if it's not actually successfully updating the database?
    Cyd

    "The fact that it's doing a commit no matter what..."
    It won't do a commit if the form_status is QUERY. Did you check the form_status before coming to the actual commit statement? If it's QUERY, it won't commit. You need to do check this!
    If the form_status is not QUERY, then it will do a commit unless the form is doing something in a pre-commit trigger, or deleting the records in a post commit trigger. The fact you were getting a "are no changes to be saved" message, leads me to believe you may have something going on in a trigger that fires when it encounters your commit statement. You may have to use the debugger to execute your code one line at a time to find out what's going one here. Have you tried doing that?
    Other possibilities are:
    a. The database or schema you are looking at is not the database or schema Forms is using to save the records.
    b. The records being commited are not the records you were expecting.
    "FRM-40400 blinking up on the screen"
    not sure why it would be blinking... maybe due to the version of Forms Builder you are using.

  • How to stop report updating the records

    Morning all,
    I have created a report which calculates reworked jobs according to a group (reason code). I later on added a sub report which calculates all the jobs (that is all the processed jobs). The sub report is linked with main report by Reason code.
    Reason Code 1 to 99 in main report is linked with the reason code 1 to 99 in the sub report.
    There are 9 specified reason codes. for example
    Customer care - 1-99 reason code -  This reason code total processed orders value is the same as Supplier.
    Lab Surfacing - 200-299 reason code -
    Lab Tinting - 400-499 reason code -
    Hard Coating - 800-899 reason code - 
    Supplier etc. - 900-99 reason code - This reason code total processed orders value is the same as CstCare.
    When the report runs, it calculates the value of the first group 1-99, sub report counts the total processed orders and displays the value (upto here it is fine). As the report goes on reading records, it updates the values and shows an updated value in some groups which needs to be the same as the first group value.
    For example
    If Customer Care had 470 processed orders, by the time it reaches Supplier it shows 507 processed orders, where as it should have kept it to 470 processed orders for Supplier group as both should have same value of orders processed.
    The report is running fine however the records which are being pulled from the sub report gets updated by the time report finish counting all the records.
    The main reason why it is doing is because it starts recounting on each group reason code. So when it sets off from reason code 1 to 99, it calculates all the records and then filters them to get 1 to 99 reason code records. Then when it comes to 100-199 group it starts recounting again all the records. The process kept itself until it stops matching reason codes between two reports.
    Any ideas how to process all the records at once from the sub report? so that each time it looks for the record, it just picks what has been processed?
    I suspect instead of keeping it on the group level I should move the sub reports on the header of the main report?
    Any ideas will be welcomed.
    Regards
    Jehanzeb

    Hi J,
    This is not possible in Crystal, as you are well aware that when it is processing a group in the report, it will process that particular group objects like sub totals, group totals, sub reports etc.  You can't pull all information (sub report) at once and show in bits and pieces.
    You may have to create an intermediate database and replicate the data from your main database in certain intervals.  It will help you to prevent different count in groups.
    Thanks,
    Sastry

  • How to pass values for compound primary keys for updating the record in db.

    i have a entity bean in my ejb with two primary keys to it...eg. roleid,rolename...
    when iam retriving the record i use only one primary key ...so again to modify and update he same record which i retrived is a pbm..
    i cannot set the values for the compoundpk,,,
    but i can do the update for the bean with single primary key..
    i need to know how to pass the values/parameters for the coumpound primary key in my update method...
    thanx in advance...
    Arjun.G

    I istantiated a object for the pk class and assign the values for the primary key fields...
    Arjun.G

  • OB08 is not updating the record.

    Hi experts,
    We are using CRM 4.0 Internet sales application. We are using transaction OB08 for updating exchange rate. We have a customised program to update the OB08.
    This program uses BDC program ,picks the record which is kept is SAP application server and update the OB08 transaction.  A job triggers this program.
    Problem here suddenly this program picks the records from application server and failed to update the OB08 transaction.Could you any one of you help me in resolving the issue.
    Regards,
    Jegatheesan.

    HI
    Please check the respective file from error folder in application server, it may be wrong in file format.
    Thanks & Regards
    Veerraju

  • How to update the recorded scripts as per the new interface

    Hi,
    I am using E-tester 8.20 and generating the scripts by record and playback. Here my problem is how to update the scripts when new version of user interface (UI) comes. For example, page1 of UI has recorded with 5 text boxes. In the new version of UI, one more text box (6th text box) has been added and that is mandatory filed. So I have to update my scripts as per the new interface to enter a value in the 6th text box. Is there any way to do it? Any kind of help should be appreciated.
    Regards,
    Vinod

    Hi
    Are you talking functional or load scripts?
    Regards
    Alex

  • Automatic Row Processing (DML) process is not updating the record

    Hi all,
    I have an application which was working fine last week and tested and backuped to new application. This Monday, one of the form in that application is not updating the data all of a sudden. I debug that by having page 0 variable and assign the value from the column variable to page 0 variable. Whatever value I changed to the column variable was getting updated to page 0 variable. But it is not updated in the database. So, I changed the success message of the "Automatic Row Processing (DML) process" and I can see the success message on the page, but the column value does not get updated. But when I go back and checked my backup application, that page is working fine. For now, I copy that from the backup application, but I would like to know why this is happening?
    Thanks
    SHY

    Hi Scott,
    Thank you very much for your response. Because of the database complexity, I can't create/import the application on the apex.oracle.com. I am just wondering why this is happening. One of my coworker said same thing happened to her in one of her project and it gets resolved once she restart the server. I am not able to restart the server to check and see if this resolved as the application is on the client server. Do we need to clean up any log file? Thanks.
    SHY

  • Query for updating the records

    I have the two tables....
    CREATE TABLE temp_1
    ( ST_NM VARCHAR2(30),STATUS_ID VARCHAR2(1) NOT NULL ENABLE,ST_ID VARCHAR2(20) primary key,REJ_USER_NM varchar2(10))
    sample Data :
    insert into temp_1 values('S010054','R','ST9749109','TEST_1');
    insert into temp_1 values('S010179','R','ST9749147','');
    insert into temp_1 values('S010582','N','ST9749258','');
    CREATE TABLE temp_2
    ( REJ_USER_NM VARCHAR2(20),ST_NM VARCHAR2(30),
    STATUS_ID VARCHAR2(1) NOT NULL ENABLE,ST_ID VARCHAR2(20))
    sample data:
    insert into temp_2 values('','S010054','N','ST9749109');
    insert into temp_2 values('','S010054','N','ST9749109');
    insert into temp_2 values('TEST_1','S010054','N','ST9749109'');
    insert into temp_2 values('','S010054','I','ST9749109');
    insert into temp_2 values('','S010179','N','ST9749147');
    insert into temp_2 values('TEST_2','S010179','N','ST9749147');
    insert into temp_2 values('','S010179','N','ST9749147');
    insert into temp_2 values('','S010179','N','ST9749147')
    insert into temp_2 values('TEST_5','S010582','R','ST9749258');
    insert into temp_2 values('TEST_5','S010582','N','ST9749258');
    insert into temp_2 values('','S010582','N','ST9749258');
    insert into temp_2 values('','S010582','N','ST9749258')
    I want the UPDATE query based on below conditions to update the REJ_USER_NM in temp_1 table.
    From temp_1 table ,STATUS_ID is 'R' and REJ_USER_NM is null and compare the set_id column value
    with the temp_2 table,where REJ_USER_NM is not null and status id is 'N'. REJ_USER_NM column from
    temp_2 table need to be update in the REJ_USER_NM column of temp_1 table.
    After completion of updation,output is in below format; if i run below qry
    ====================================
    select * from temp_1;
    {S010054},{R},{ST9749109},{TEST_1}
    {S010179},{R},{ST9749147},{TEST_2}
    {S010582},{N},{ST9749258},{}
    ======================
    Edited by: 849971 on May 2, 2011 8:25 PM

    Why is that the row
    {S010582},{N},{ST9749258},{}
    is not updated to TEST_5 ?? Based on your rules and data. it must be updated to test_5. Are you missng any rules?
    Try some thing like,
    UPDATE temp_1
       SET REJ_USER_NM  =
              (SELECT REJ_USER_NM
                 FROM temp_2
                WHERE     status_id = 'N'
                      AND temp_1.st_id = temp_2.st_id
                      AND temp_2.REJ_USER_NM IS NOT NULL)

Maybe you are looking for

  • LSMW error in material consumption value upload

    Hi Guys, I am using standard program RMDATIND for creating LSMW to upload consumption value for materials , i am getting error consumption period can not be determined, can anybody tell me what period format should be used? Thanks and regards Thamizh

  • BT line fault stopping me connecting to Orange Bb

    So been to a customers house today since Friday lunchtime orange router unable to get an external ip address on the router to any device. Phone like is fine and connected. No noises and crackling. All day been on the phone to orange support they keep

  • HT1904 iBooks..some won't open since upgrade.These were purchased

    Since upgrade I am unable to open several books that I have purchased

  • Install Flash pro on windows XP

    Hi, i'd like to try adobe flash pro but i'm not able to dowload trial version as i'm working on a windows xp computer. Is there a way to download older versions? Thanks for your help

  • Flash .swf as a background

    I have a website where a fundamental requirement is the use of .swf behind other elements, e.g. HTML. These .swf flies are only there as design elements, they fulfil no other purpose but the client insists they are there. but the client insists they