Update query not working from edit page

Next incident with the guestbook saga:
Successful execution of gb_entry_mstr_det_e.cfm with URL:
http://www.benoitsystems.com/ww/bd/gb/gb_entry_mstr_det_e.cfm?call_number=14 all have database current info...this is good, but:
textboxes
Problem 1:
the SELECT field does not does not reflect/display the correct option I know exists in the database
the database field whence this SELECT object is supposed to display is a number, not text.
now,...
Problem 2:
Clicked on "Update Your Entry" button at bottom of edit page (to update by going to gb_confirm_update.cfm)
<INPUT
TYPE="submit"
NAME="submit"
VALUE="Update Your Entry">
then, arriving at the gb_confirm_update.cfm page, ...
Got an error (below) executing the page: gb_confirm_update.cfm with resulting URL:
http://www.benoitsystems.com/ww/bd/gb/gb_confirm_update.cfm?call_number=#gb_entryID#
--- snippet from template gb_confirm_update.cfm
<CFQUERY DATASOURCE="9130.ww" NAME="ww_gb_ud">
UPDATE gb_entries
SET
gb_entry_stts_='form.gb_entry_stts_',
gb_entry_nm_f='form.gb_entry_nm_f',
gb_entry_nm_l='form.gb_entry_nm_l',
gb_entry_nm_l_dspl_x=form.gb_entry_nm_l_dspl_x,
gb_entry_tce='form.gb_entry_tce',
gb_entry_tce_dspl_x=form.gb_entry_tce_dspl_x,
gb_entry_cy='form.gb_entry_cy',
gb_entry_stt='form.gb_entry_stt',
gb_entry_instr='form.gb_entry_instr',
gb_entry_m='form.gb_entry_m',
gb_entry_del_x=form.gb_entry_del_x
WHERE gb_entryID=form.gb_entryID
</CFQUERY>
--- end snippet ---
=================================================
Error Executing Database Query. 
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 4. 
The error occurred in E:\benoitsystems.com\wwwroot\ww\bd\gb\gb_confirm_update.cfm: line 2
1 : <!--- <CFUPDATE DATASOURCE="9130.ww" TABLENAME="gb_entries"> --->
2 : <CFQUERY DATASOURCE="9130.ww" NAME="ww_gb_ud">
3 : UPDATE gb_entries
4 : SET
SQL    UPDATE gb_entries SET gb_entry_stts_='form.gb_entry_stts_', gb_entry_nm_f='form.gb_entry_nm_f', gb_entry_nm_l='form.gb_entry_nm_l', gb_entry_nm_l_dspl_x=form.gb_entry_nm_l_dspl_x, gb_entry_tce='form.gb_entry_tce', gb_entry_tce_dspl_x=form.gb_entry_tce_dspl_x, gb_entry_cy='form.gb_entry_cy', gb_entry_stt='form.gb_entry_stt', gb_entry_instr='form.gb_entry_instr', gb_entry_m='form.gb_entry_m', gb_entry_del_x=form.gb_entry_del_x WHERE gb_entryID=form.gb_entryID 
DATASOURCE   9130.ww
VENDORERRORCODE   -3010
SQLSTATE   07002
Please try the following:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser   Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Remote Address   71.233.234.226
Referrer   http://www.benoitsystems.com/ww/bd/gb/gb_entry_mstr_det_e.cfm?call_number=14
Date/Time   21-Jul-10 03:11 PM
=================================================
I have every NAME of each object matching, verbatum, in the UPDATE query, and every database field name correct in teh query also.

I was encouraged to send snippets in an another submission, and now I believe it is best that I  "lay my cards on the table"
Here's my hand:
Pages in question for your review:
http://www.benoitsystems.com/ww/bd/gb/gb_mstr.cfm  click on the pencil (the toilet will delete the record.
http://www.benoitsystems.com/ww/bd/gb/gb_entry_mstr_det_e.cfm?call_number=21  go to bottom of webpage and click “Update Your Entry”
http://www.benoitsystems.com/ww/bd/gb/gb_confirm_update.cfm?call_number=#gb_entryID#
In your review of the above (should you choose) before clicking on the pencil, look at the status on the master listing record you will be editing, and feel free to edit.  Most statuses will be “Hold”
Two dummy MS Access database tables:
Table 1: "gb_entries" (Guestbook)
field 1: gb_entries_ID (Autonumber - Long Integer)
field 2: gb_entries_dt (date/time)
field 3: gb_entries_nm_f (Text)
field 4: gb_entries_nm_l (Text)
field 5: gb_entries_nm_stts_ (Number field - Byte (not bit)) (fed by gb_sttsID)
couple other text fields
field 6: gb_entries_em (Text)
field 7: gb_entries_cy (Text)
field 8: gb_entries_stt (Text)
field 9: gb_entries_nm_l_dspl (Yes/No or True/False)
field 10: gb_entries_m (Memo type)
Table 2: "gb_stts_rf" (Guestbook Status Reference)
field 1: gb_sttsID (Autonumber - Long Integer)
field 2: gb_stts (Text)
Two Templates:
This is the edit page (where a person with administrative access may edit the status or change the spelling for someone, etc.):
<!--- This query fills the form with the chosen record data (except for the darned SELECT object) ---> <CFQUERY NAME="edit_entry" DATASOURCE="9130.ww"> SELECT * FROM gb_entries WHERE #call_number#=gb_entryID </CFQUERY>
<!--- This query is for the select dropdown of guestbook status options (set to default on “Hold” from gb_nw.cfm) ---> <CFQUERY NAME="q_stts" DATASOURCE="9130.ww"> SELECT * FROM gb_stts_rf </CFQUERY>
<HTML>
<HEAD>
<TITLE>Woodwindology Guestbook Entry Edit Page</TITLE> <CFOUTPUT QUERY="incl_css_bd">#incl_code#</CFOUTPUT>
</HEAD>
<BODY
      BGPROPERTIES="fixed">
<DIV ALIGN="center">
<IMG
      SRC="<CFOUTPUT>#baseurl#</CFOUTPUT>md/img/ut/ttl/pg/guestbook.gif"
      BORDER="0">
<BR>
<IMG
      SRC="<CFOUTPUT>#baseurl#</CFOUTPUT>md/img/ut/ttl/sub/edit_entry.gif"
      BORDER="0">
<BR>
Developer View
</DIV>
<TABLE>
      <TR>
            <TD>
                  <TABLE
                        WIDTH="100%"
                        BORDER="0"
                        CELLPADDING="5"
                        CELLSPACING="0">
      <TR>
            <TD VALIGN="top">
                  <FORM
                        NAME="f_gb_entry_mstr"
                        ACTION="gb_confirm_update.cfm?call_number=#gb_entryID#"
                        METHOD="post">
                  <CFOUTPUT QUERY="edit_entry">
                  <B>Entry ID:</B>
                  #gb_entryID#     
                  <INPUT
                        TYPE="hidden"
                        NAME="gb_entryID"
                        VALUE="#gb_entryID#">
                  <P>
                  <B>Entry Date and Time:</B>
                  #DateFormat("#gb_entry_dt#","mmmm d, yyyy")# #TimeFormat("#gb_entry_dt#","h:mm tt")#
<P>
                  <B>Entry Status:</B>
                  <SELECT
                        NAME="gb_entry_stts_"
                        VALUE="#gb_entry_stts_#">
</CFOUTPUT>
                        <CFOUTPUT QUERY="q_stts">
                              <OPTION VALUE="#gb_sttsID#">#gb_stts#</OPTION>
                        </CFOUTPUT>
                  </SELECT>
                  <P>
<CFOUTPUT QUERY="edit_entry">
                  <B>Guest's First Name:</B>
                  <INPUT
                        TYPE="text"
                        NAME="gb_entry_nm_f"
                        VALUE="#gb_entry_nm_f#">
                  <P>
                  <B>Guest's Last Name:</B>
                  <INPUT
                        TYPE="text"
                        NAME="gb_entry_nm_l"
                        VALUE="#gb_entry_nm_l#">
                  <BR>
                  Display Last Name:
                  <INPUT
                        TYPE="radio"
                        NAME="gb_entry_nm_l_dspl_x"
                        VALUE="Yes">
                  Do Not Display Last Name:
                  <INPUT
                        TYPE="radio"
                        NAME="gb_entry_nm_l_dspl_x"
                        VALUE="no">
                        <P>
                        <B>Your Email Address:</B><BR>
                        <INPUT
                              TYPE="text"
                              NAME="gb_entry_tce"
                              VALUE="#gb_entry_tce#"
                              SIZE="40"
                              MAXLENGTH="40">
                  <BR>
                  Uncheck the box to keep email private:
                  <INPUT
                        TYPE="checkbox"
                        NAME="gb_entry_tce_dspl_x"
                        VALUE="#gb_entry_tce_dspl_x#">
                  <P>
                  <SPAN CLASS="emph01">*</SPAN> Your City:
                  <INPUT
                        TYPE="text"
                        NAME="gb_entry_cy"
                        VALUE="#gb_entry_cy#"
                        SIZE="30">
                  <P>
                  <SPAN CLASS="emph01">*</SPAN> Your State:
                  <INPUT
                        TYPE="text"
                        NAME="gb_entry_stt"
                        VALUE="#gb_entry_stt#"
                        SIZE="30">
                  <BR>
                        <B>Instruments Played:</B>
                  <BR>
                        <TEXTAREA
                              COLS="45"
                              MAX="50"

Similar Messages

  • Update query not working in the JDBC sender Communication channel

    Hi,
    We are working on JDBC to File scenario. As per the configuration, XI should pick the data from SQL database every 20 secs and should update the corresponding flag. We are using subquery in the select and update statement as both header and detail tables are involved.
    Now the issue is, select query is working fine but update statement is not working as expected. It is somehow updating some other records rather than doing for the ones selected by the adapter.
    Moreover logSQLstatement is also not working. Hence we are unable to identify the records which are getting updated.
    Please advise.

    Hi Rumi,
    See Question 8. Transaction Handling (Sender) in [SAP Note 831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter|https://websmp130.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=831162].
    8.  Transaction Handling (Sender)
    Q: If I have the following configured in a JDBC Sender:
    Select Query:
    SELECT column FROM TABLENAME WHERE FLAG = "TRUE"
    Update Query:
    UPDATE TABLENAME SET FLAG = "FALSE" WHERE FLAG = "TRUE"
    How do I know that the JDBC adapter will not update newly added rows (rows that were
    added between the time that the SELECT and UPDATE queries were executed) that were
    not read in the initial SELECT query?
    A: The SELECT and the UPDATE are run in the same DB transaction, i.e. both statements
    have the same view on the database.
    Make sure that both statements use the same WHERE clause. An additional
    requirement for the correct operation of this scenario is the configuration of
    an appropriate transaction isolation level on the database
    (i.e., repeatable_read or serializable). You might also consider using a
    "SELECT FOR UPDATE" statement instead of a plain SELECT statement to
    ensure proper locking on the database. "SELECT FOR UPDATE"
    is not supported in MS SQL database. In this case please make use of an
    appropriate transaction isolation level on the database. For more details
    please contact your DB vendors.
    After, see Transaction Handling Issues in [SAP Note 1039779 - JDBC Adapter issues(Escape character,Transaction handling)|https://websmp130.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1039779].
    Best Regards.
    Pedro Baroni

  • SQL Update Query not Working...

      This was working until we had to encrypt the main key.  This has been replaced with an existing autonum field.  When I test the T-SQL query alone on SQL Server,  it works.   But through the ColdFusion progam, nothing happens.  Its as if the submit button reference to this is not working or is ignored.
    Any ideas?
    Here is the code clip were the issue may be occuring.
    <cfparam name="URL.SEQNO" default="1">
    <cfset CurrentPage=GetFileFromPath(GetTemplatePath())>
    <cfif IsDefined("FORM.MM_UpdateRecord") AND FORM.MM_UpdateRecord EQ "formUpdateRecord">
      <cfquery name="Section301MI" datasource="301dsn">
      DECLARE @str NVARCHAR(128)
      SET @str = #FORM.SSN#;
      OPEN SYMMETRIC KEY SSN_Key_01
       DECRYPTION BY CERTIFICATE anjalitest
      UPDATE dbo.TableDataRecords SET SSN=
      <cfif IsDefined("FORM.SSN") AND #FORM.SSN# NEQ "">
        EncryptByKey(Key_GUID('SSN_Key_01'),@str)
          <cfelse>
          NULL
      </cfif>
      , verifySSN =
      <cfif IsDefined("FORM.SSN") AND #FORM.SSN# NEQ "">
        EncryptByKey(Key_GUID('SSN_Key_01'),@str)
          <cfelse>
          NULL
      </cfif>
      , LastName=
      <cfif IsDefined("FORM.LastName") AND #FORM.LastName# NEQ "">
        '#FORM.LastName#'
          <cfelse>
          NULL
      </cfif>
      , FirstName=
      <cfif IsDefined("FORM.FirstName") AND #FORM.FirstName# NEQ "">
        '#FORM.FirstName#'
          <cfelse>
          NULL
      </cfif>
      , MiddleInitial=
      <cfif IsDefined("FORM.MiddleInitial") AND #FORM.MiddleInitial# NEQ "">
        '#FORM.MiddleInitial#'
          <cfelse>
          NULL
      </cfif>
      , DOB=
      <cfif IsDefined("FORM.DOB") AND #FORM.DOB# NEQ "">
        '#FORM.DOB#'
          <cfelse>
          NULL
      </cfif>
      , BenefitProgram=
      <cfif IsDefined("FORM.BenefitProgram") AND #FORM.BenefitProgram# NEQ "">
        #FORM.BenefitProgram#
          <cfelse>
          NULL
      </cfif>
      , MedCessDate=
      <cfif IsDefined("FORM.MedCessDate") AND #FORM.MedCessDate# NEQ "">
        '#FORM.MedCessDate#'
          <cfelse>
          NULL
      </cfif>
      , ProgramDecision=
      <cfif IsDefined("FORM.ProgramDecision") AND #FORM.ProgramDecision# NEQ "">
        #FORM.ProgramDecision#
          <cfelse>
          NULL
      </cfif>
      , ProgramDecisionDate=
      <cfif IsDefined("FORM.ProgramDecisionDate") AND #FORM.ProgramDecisionDate# NEQ "">
        '#FORM.ProgramDecisionDate#'
          <cfelse>
          NULL
      </cfif>
      , ProgramType=
      <cfif IsDefined("FORM.ProgramType") AND #FORM.ProgramType# NEQ "">
        #FORM.ProgramType#
          <cfelse>
          NULL
      </cfif>
      , ProgAllowStartDate=
      <cfif IsDefined("FORM.ProgAllowStartDate") AND #FORM.ProgAllowStartDate# NEQ "">
        '#FORM.ProgAllowStartDate#'
          <cfelse>
          NULL
      </cfif>
      , ProgAllowCompDate=
      <cfif IsDefined("FORM.ProgAllowCompDate") AND #FORM.ProgAllowCompDate# NEQ "">
        '#FORM.ProgAllowCompDate#'
          <cfelse>
          NULL
      </cfif>
      , DiaryDate=
      <cfif IsDefined("FORM.DiaryDate") AND #FORM.DiaryDate# NEQ "">
        '#FORM.DiaryDate#'
          <cfelse>
          NULL
      </cfif>
      , DenialReason=
      <cfif IsDefined("FORM.DenialReason") AND #FORM.DenialReason# NEQ "">
        #FORM.DenialReason#
          <cfelse>
          NULL
      </cfif>
      , TermDecisionDate=
      <cfif IsDefined("FORM.TermDecisionDate") AND #FORM.TermDecisionDate# NEQ "">
        '#FORM.TermDecisionDate#'
          <cfelse>
          NULL
      </cfif>
      , TermReason=
      <cfif IsDefined("FORM.TermReason") AND #FORM.TermReason# NEQ "">
        #FORM.TermReason#
          <cfelse>
          NULL
      </cfif>
      , Remarks=
      <cfif IsDefined("FORM.Remarks") AND #FORM.Remarks# NEQ "">
        '#FORM.Remarks#'
          <cfelse>
          NULL
      </cfif>
      , EncryptNatIDNum1 = NULL
      , EncryptNatIDNum2 = NULL
      WHERE SEQNO=#URL.SEQNO#
       CLOSE SYMMETRIC KEY SSN_Key_01;
      </cfquery>
      <cflocation url="modifysuccess.cfm">
    </cfif>

    1) This is almost a clone to the Insert form that works.  The main differences are It selects the matching record for editing and then Updates.
    2) The CFDUMP gives me results when I put it in the logic section that responds to the Form Submit button.  But not at the top of the code.
      I added the CFABORT so I could see a result.
    <cfif (IsDefined("FORM.MM_UpdateRecord") AND FORM.MM_UpdateRecord EQ "formUpdateRecord") OR (IsDefined("FORM.UpdateRecord") AND FORM.UpdateRecord EQ "Update Record")>
       <cfdump var="#form#">
      <cfquery name="Section301MI" datasource="301dsn" username="section301db" password="testdb">
      DECLARE @str NVARCHAR(128)
      <cfif IsDefined("FORM.SSN")>
       SET @str = #FORM.SSN#;
      </cfif>
      OPEN SYMMETRIC KEY SSN_Key_01
       DECRYPTION BY CERTIFICATE anjalitest
      UPDATE dbo.TableDataRecords SET verifySSN=                     <<This is only displayed, but not modified.  Should this even be in the update?
      <cfif IsDefined("FORM.SSN") AND #FORM.SSN# NEQ "">
        EncryptByKey(Key_GUID('SSN_Key_01'),@str)
          <cfelse>
          NULL
      </cfif>
      , [LastName]=
      <cfif IsDefined("FORM.LastName") AND #FORM.LastName# NEQ "">
        '#FORM.LastName#'
          <cfelse>
          NULL
      </cfif>
      , [FirstName]=
      <cfif IsDefined("FORM.FirstName") AND #FORM.FirstName# NEQ "">
        '#FORM.FirstName#'
          <cfelse>
          NULL
      </cfif>
      , MiddleInitial=
      <cfif IsDefined("FORM.MiddleInitial") AND #FORM.MiddleInitial# NEQ "">
        '#FORM.MiddleInitial#'
          <cfelse>
          NULL
      </cfif>
      , DOB=
      <cfif IsDefined("FORM.DOB") AND #FORM.DOB# NEQ "">
        '#FORM.DOB#'
          <cfelse>
          NULL
      </cfif>
      , BenefitProgram=
      <cfif IsDefined("FORM.BenefitProgram") AND #FORM.BenefitProgram# NEQ "">
        #FORM.BenefitProgram#
          <cfelse>
          NULL
      </cfif>
      , MedCessDate=
      <cfif IsDefined("FORM.MedCessDate") AND #FORM.MedCessDate# NEQ "">
        '#FORM.MedCessDate#'
          <cfelse>
          NULL
      </cfif>
      , ProgramDecision=
      <cfif IsDefined("FORM.ProgramDecision") AND #FORM.ProgramDecision# NEQ "">
        #FORM.ProgramDecision#
          <cfelse>
          NULL
      </cfif>
      , ProgramDecisionDate=
      <cfif IsDefined("FORM.ProgramDecisionDate") AND #FORM.ProgramDecisionDate# NEQ "">
        '#FORM.ProgramDecisionDate#'
          <cfelse>
          NULL
      </cfif>
      , ProgramType=
      <cfif IsDefined("FORM.ProgramType") AND #FORM.ProgramType# NEQ "">
        #FORM.ProgramType#
          <cfelse>
          NULL
      </cfif>
      , ProgAllowStartDate=
      <cfif IsDefined("FORM.ProgAllowStartDate") AND #FORM.ProgAllowStartDate# NEQ "">
        '#FORM.ProgAllowStartDate#'
          <cfelse>
          NULL
      </cfif>
      , ProgAllowCompDate=
      <cfif IsDefined("FORM.ProgAllowCompDate") AND #FORM.ProgAllowCompDate# NEQ "">
        '#FORM.ProgAllowCompDate#'
          <cfelse>
          NULL
      </cfif>
      , DiaryDate=
      <cfif IsDefined("FORM.DiaryDate") AND #FORM.DiaryDate# NEQ "">
        '#FORM.DiaryDate#'
          <cfelse>
          NULL
      </cfif>
      , DenialReason=
      <cfif IsDefined("FORM.DenialReason") AND #FORM.DenialReason# NEQ "">
        #FORM.DenialReason#
          <cfelse>
          NULL
      </cfif>
      , TermDecisionDate=
      <cfif IsDefined("FORM.TermDecisionDate") AND #FORM.TermDecisionDate# NEQ "">
        '#FORM.TermDecisionDate#'
          <cfelse>
          NULL
      </cfif>
      , TermReason=
      <cfif IsDefined("FORM.TermReason") AND #FORM.TermReason# NEQ "">
        #FORM.TermReason#
          <cfelse>
          NULL
      </cfif>
      , Remarks=
      <cfif IsDefined("FORM.Remarks") AND #FORM.Remarks# NEQ "">
        '#FORM.Remarks#'
          <cfelse>
          NULL
      </cfif>
      , EncryptNatIDNum1 = NULL
      , EncryptNatIDNum2 = NULL
      WHERE SEQNO=#URL.SEQNO#
       CLOSE SYMMETRIC KEY SSN_Key_01;
      </cfquery>
    <cfabort>
      <cflocation url="modifysuccess.cfm">
    </cfif>

  • Update query not working thru procedure

    Hi
    I need to update one table column based on another table column.
    thru sql statement it is working, but same statement is not working thru stored procedure.
    update target_table a set a.col2 = (select col2 from source_table b where a.id = b.id);
    Above statement is working thru sql statement ,but it is not working thru procedure.
    So Please on this.
    Regards,
    Venkat

    post the code for the procedure. Kindly use before and after the procedure statement!                                                                                                                                                                                       

  • Select for update query not working..

    hi i am tying to get this bit of ncode to work so i can then go to the next part of demonstrating a deadlock between two transactions. however i cannot go any further has my initial code does not work at all. here it goes
    //////////User A////////////////////////////////
    DECLARE
    v_salary squad.salary%TYPE := 300;
    v_pos squad.position%TYPE := 'Forward';
    BEGIN
    UPDATE squad
    SET salary = salary + v_salary
    WHERE sname = 'Henry';
    FOR UPDATE;
    UPDATE squad
    SET position = v_pos
    WHERE sname = 'Fabregas';
    COMMIT;
    END;
    //////////////////////User B/////////////
    DECLARE
    v_salary squad.salary%TYPE := 200;
    v_pos squad.position%TYPE := 'Forward';
    BEGIN
    UPDATE squad
    SET position = v_pos
    WHERE sname = 'Fabregas';
    FOR UPDATE;
    UPDATE squad
    SET salary = salary + v_salary
    WHERE sname = 'Henry';
    FOR UPDATE;
    COMMIT;
    END;
    Basicly user a creats a lock and so does user b, user b enquires a lock from user a and vice versa i.e. a deadlock

    Hi
    You get the following error:
    ORA-06550: line 8, column 7:
    PLS-00103: Encountered the symbol "UPDATE" when expecting one of the following:
    because the FOR UPDATE; is invalid in your statement.
    Try this:
    //////////User A////////////////////////////////
    DECLARE
    v_salary squad.salary%TYPE := 300;
    v_pos squad.position%TYPE := 'Forward';
    v_n number;
    BEGIN
    UPDATE squad
    SET salary = salary + v_salary
    WHERE sname = 'Henry';
    select 1 into v_n from squad
    WHERE sname = 'Fabregas'
    for update;
    UPDATE squad
    SET position = v_pos
    WHERE sname = 'Fabregas';
    COMMIT;
    END;
    //////////////////////User B/////////////
    DECLARE
    v_salary squad.salary%TYPE := 200;
    v_pos squad.position%TYPE := 'Forward';
    v_n number;
    BEGIN
    UPDATE squad
    SET position = v_pos
    WHERE sname = 'Fabregas';
    select 1 into v_n from squad
    WHERE sname = 'Henry'
    for update;
    UPDATE squad
    SET salary = salary + v_salary
    WHERE sname = 'Henry';
    COMMIT;
    END;
    To syncronize the blocks first in a SQLPlus call these two statements:
    select 1 from squad WHERE sname = 'Fabregas' for update;
    select 1 from squad WHERE sname = 'Henry' for update;
    After this start the user A code in another SQLPlus, and start the user B code. After this call rollback or commit in the first sqlplus.
    Ott Karesz
    http://www.trendo-kft.hu

  • Box frame command not working from second page in scripts

    Hi to All,
                I am getting problem when i am running the script program in SE38.
    Problem is I need to get the output i(Header,main and footer) in box frame for all the pages.but in one page i am getting the Box frame  for all three windows(header ,main and footer window).
                 But from second page onwards i am not getting the Box frame for Main Window.
               could anyone could give the result.
    thanks in Advance.

    This occurs typically when you puts BOXs commands on top of MAIN outside of any text element.  It runs once, then is not executed any more.  If you need the boxes on other pages you should put it inside a text elemente and make a WRITE_FORM with the proper EXPORTING ELEMENT for every page.  But as you don't know when a new page is called...  I really don't know how to solve it by this way.
    My ususal solution is to have the boxes in a new window, supperpossed with MAIN, same possition and sizes.  On this window you can put as boxes and lines as you want without a text element and it is going to be shown on every page.
    Hope it helps!

  • Ms updates does not work after recovery win 7 pro on dv4-2167sb

    info on problems with MS updates right after a new install of win 7 pro: does not install updates and will not install SP1 from down load . I used recovery disks I made. The OS [win 7 pro] recovered great but MS updates did not work from  the get-go..  {Personal Information Removed} HP NEEDS TO GET ME OS RECOVERY THAT WORKER I HAVE 4 OF THIS DV4-2167SB 'S
    Been on the phone with hp [not US] for more than hr.  talked to two svr. hungup on 3 times,  HP needs some New VP's.

    Hi VP_IA_DOT,
    I saw your post and forwarded it to the right people for their review. You should hear back from someone shortly via private message on this Forum.
    Thanks,
    NicNac - HP Support Forums Moderator
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

  • Safari is not working on the Mac. Internet is fine, mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar.

    Safari is not working on the Mac. Internet is fine. mail, App Store etc all working and connecting to Internet fine. Done the latest software update, still not working. When selecting a web address from bookmarks or typing in search bar, partial blue bar only and coloured wheel appears.

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If extensions aren't causing the problem, see below.
    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • Update will not work, I get an error message that says error 7 (windows error 126

    The new update will not work for me, I am running Windows Vista. I have never had any problems installing updates before, but this time I get a message
    So I found the directions to uninstall itunes, I uninstalled itunes, apple software update, then I am unable to uninstall apple mobile device support. Since it says to uninstall them in order, I didn't go any futher. I did restart and got this message
    I tried redownloading and reinstalling but I am back to where I started from, can someone HELP?
    Thanks

    This is asked and answered dozens of time each day.  A forum search (right side of this page)  will find answers to many questions like this quickly.
    Disable your firewall/security software and try again.

  • File sharing is not working from pc to imac os x 10.9.2

    file sharing is not working from pc to imac os x 10.9.2

    Hello there Karen,
    It sounds like you are having to power cycle your modem to get internet back every single day. We can start by troubleshooting your Airport Express to help isolate the issue. I would first perform a Soft Reset, then test the issue again. If needed as a last resort I would then perform a Hard Reset:
    Soft reset
    Connect the device to power and wait for it to complete its start up process. To learn more about the start up process, please see All about Wi-Fi base station Status Lights (LED).
    Press and hold the reset button with a pen, pencil, or straightened paperclip for 1 full second, then release it. The light (LED) will begin flashing amber, indicating that the device is in soft reset mode.
    From the AirPort menu bar item, choose the network created by the device (the network name does not change).
    Open AirPort Utility from Applications > Utilities.
    Select the base station, then click Edit (The Edit window will indicate that the base station is in Soft Reset mode).
    Move through the tabs to make changes to your passwords or other settings as needed, and click Update and Continue as required
    Quit AirPort Utility.
    Hard reset
    Press and hold the reset button with a pen, pencil, or straightened paperclip until you see the status light (LED) start to flash amber rapidly, which should occur after about five seconds.
    Release the button and the device will reset.
    Wait about a minute for the base station to finish restarting, then open AirPort Utility from Applications > Utilities.
    Select the base station from Other Wi-Fi Devices, then click Edit.
    Select the Other Options button.
    Select "Restore previous settings" and click Next until you get to the final window.
    AirPort Utility will indicate that Setup is complete. Click Done.
    Quit AirPort Utility.
    Resetting an AirPort base station FAQ
    http://support.apple.com/kb/ht3728
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • TS1718 I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Windows update does not work after using System recovery disk

    I have a Toshiba Satellite c655 with WIndows 7 64 bit Home premium. The hard drive died on it, so I purchased a new hard drive and purchased the appropriate Recovery media from Toshiba. I followed the directions and installed the 3 disks on to the new hard drive. But Windows update does not work I get the following error: Windows update can not currently check for updates, because the service is not running. You may need to restart your PC    No matter what I try, I can not get it to work. And it will not let me install Windows Defender either. Any ideas or help would be appreciated. Thank you in advance for your time on this matter.
    Solved!
    Go to Solution.

    I get errors saying A problem is preventing the troubleshooter from starting.
    That makes two similarities to the following thread. Both Windows Update and Troubleshooters fail to work correctly.
       Trouble with reinstall of Win7 64 on a L505-ES5018
    The fix was to install a new hard disk driver.
       Intel Rapid Storage Technology
    -Jerry

  • I DON'T WANT TO UPGRADE OR HAVE AN ADD ON EVER, DISABLING UPDATES DOES NOT WORK, HOW DO I KILL ALL MEASAGES FOR UP GRADES AND ADD ON'S FOR EVER, ONCE AND FOR ALL, COMPLETELY, THE END AND NEVER BE BOTHERED AGAIN EVER!

    I DON'T WANT TO UPGRADE OR HAVE AN ADD ON EVER, DISABLING UPDATES DOES NOT WORK, HOW DO I KILL ALL MESSAGES FOR UP GRADES AND ADD ON'S FOR EVER, ONCE AND FOR ALL, COMPLETELY, THE END AND NEVER BE BOTHERED AGAIN EVER! ALSO IF I KILL MYSELF I WILL HOLD YOU PERSONALTY RESPONSIBLE.edit

    There is a world of information in these forums if you use the search function near the top right of this page. Just type in NAS for example and you get many threads on the subject (marked with a green checkmark if it solved the question) another example would be Airport Exterme and sound system. Once you formulate your ideas better then specific questions can be addressed one at a time. You may find that a less expensive choice for a server might be a mac mini. Good luck with your project, ask more specific questions and update you systems profile.

  • The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I'm very computer literate and am pretty sure the problem is on your end.

    The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I've tried it multiple times and continue to get the same message: "NOT FOUND The requested item could not be found". I also tried through the Market application on the phone but ended-up with the same result.
    I'm very computer literate and am pretty sure the problem is on your end. If this is the case then no one can download the app. I considered that perhaps because it's still in Beta that it was removed due to some other type of software issue. I would really like to use Firefox on my new Droid (2.0); when with this be available?

    Firefox will not appear in the Market for most phones with incompatible hardware. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    Even on some supported devices, a bug in the Market software prevents Firefox from showing up. This may be related to the fairly recent Android Market app update. If you go to Settings/Applications/Market and choose "Uninstall" you can uninstall the update, and then search for and install Firefox from the marketplace.
    Or, if you have a supported phone, you can download the app directly by typing this address into your phone's browser: http://bit.ly/fxbeta3
    (Note: To download the app directly for an AT&T phone, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • My auto updates are not working. I cannot find where to download Camera Raw 8.1 for Photoshop CS6.

    My auto updates are not working! I cannot find where to download Camera Raw 8.1 for Photoshop CS6 (Windows 8 64 bit). My Camera Raw is now at 7.1. I had the online Adobe folks tell me to just download all updates manually. That's great, yet I cannot find camera raw 8.1 to download...
    Please help.
    Thanks, Janet

    there's a direct download link on this page: https://blogs.adobe.com/lightroomjournal/2013/06/camera-raw-8-1-and-dng-converter-8-1-now- available.html

Maybe you are looking for

  • HT204152 Apple ID Disabled & Lost Recovery Key (Two-Step Verification)

    If you use Two-Step Verification: If your Apple ID is disabled "for security reasons" AND you lost your Recovery Key ALL HOPE IS NOT LOST!  Speaking from a recent, nearly devastating experience, I hopefully will provide some relief to others in the s

  • Hi All difference between abap and hr-abap urgent pls

    Hi All difference between abap and hr-abap urgent pls

  • InDesign (and Acrobat) poor performance after virus - ideas?

    Hi everyone, we have a problem with our system (spec listed below); I've also posted in the Acrobat forum since it is affected as well. System Dell Precision T7400 CPU(s): dual quad core Xeons RAM: originally 2GB, upgraded to 4GB 1 day ago OS: XP 32-

  • Include files in Oracle9i

    Hi, I'm trying to compile my C program using gcc in Oracle9i. But came out error. Here's the error below:- test.c:154:19: sqlca.h: No such file or directory test.c:155:19: sqlda.h: No such file or directory test.c:156:20: sqlcpr.h: No such file or di

  • SCOM 2012 repair and rebuild

    Hello Gurus I have a quick question. I have a SCOM server that is giving me weird errors, I have already posted the question at http://social.technet.microsoft.com/Forums/systemcenter/en-US/b034c553-c1b9-4152-bb77-d9a29906d25c/scom-2012-r2-network-mo