Why is Forms trying to insert??

I have a block with items from a table. If I make a change to an item, and leave the block, it updates fine. However, if from another canvas I change the items in the original block (:block.item := :thisblock.item), it wants to INSERT, even though I didn't touch the primary key. help!

After I populate items from another canvas/block, I close the other canvas and see that the items have been updated properly, not into a new record but the correct one. Yet it still wants to insert, and that's when I get an error because the primary key is not unique. Which I KNOW since I just want to update that record, NOT insert it.

Similar Messages

  • Why JD is trying to insert fields not selected?

    Hi,
    My table has a default value for a column which is not null.
    (sysdate for the record creation date).
    When I insert a record through SQLPlus without selecting this
    column, this columns gets populated with the sysdate. The same
    works with Forms 4.5 also.
    But when I do the same thing with JDeveloper, the database is
    throwing back an error ORA-01400 Null cannot be inserted in to
    the database.
    The Query statement in the error (BEGIN INSERT...) shows all the
    fields in the table, though I haven't chosen the created date
    field. (nor a couple of other fields). Why JD is trying to
    insert values to the fields that are not there in the query and
    not selectd.
    Now what do I do with this??
    Can u tell me whether this JDeveloper tool is meant for
    developing serious applications.
    Gopal.
    null

    Hi,
    Bug for sure!. Because this tool is full of them! What I would
    like to know is the possibility of getting a patch. Is there any
    plan?
    One more thing. I think I have understood what is happening in
    this situation. Irrespective of what columns I select in the
    query, the entire metadata about the table comes and sits in the
    xml file. In my specific case, I tried to delete the attribute
    for created date from the xml file. Still it was trying to insert
    the value. Later, I found the notnull constraint in the xml file
    for this column. When I deleted that attribute also, it worked
    properly. I suspect that the insert statement is created by
    parsing the xml file. In that case the bug is not in IB data
    access layer. It is in creating the xml file itself.
    Hope u can throw more light in to this.
    --Gopal
    Oracle JDeveloper Team wrote:
    : This is a bug in the InfoBus data access layer. The suggested
    : workaround is to substitute the default value into the insert.
    : - PSW
    : Gopal (guest) wrote:
    : : Hi
    : : I used the queryInfo editor of the rowsetinfo. Once I browsed
    : the
    : : table, selected the required columns and pasted it to query.
    : : Second time,
    : : I just keyed in the columns and table in the appropriate
    places
    : : in
    : : the queryinfo editor. Results were same in both the cases.
    The
    : : query info
    : : in the code or in the editor shows only columns that I have
    : : selectd.
    : : Gopal
    : : JDev Team (guest) wrote:
    : : : How did you set up the query statement in JDev?
    : : : - PSW
    : : : Gopal (guest) wrote:
    : : : : Hi,
    : : : : My table has a default value for a column which is not
    : null.
    : : : : (sysdate for the record creation date).
    : : : : When I insert a record through SQLPlus without selecting
    : : this
    : : : : column, this columns gets populated with the sysdate. The
    : : same
    : : : : works with Forms 4.5 also.
    : : : : But when I do the same thing with JDeveloper, the
    database
    : is
    : : : : throwing back an error ORA-01400 Null cannot be inserted
    in
    : : to
    : : : : the database.
    : : : : The Query statement in the error (BEGIN INSERT...) shows
    : all
    : : : the
    : : : : fields in the table, though I haven't chosen the created
    : : date
    : : : : field. (nor a couple of other fields). Why JD is trying
    to
    : : : : insert values to the fields that are not there in the
    query
    : : and
    : : : : not selectd.
    : : : : Now what do I do with this??
    : : : : Can u tell me whether this JDeveloper tool is meant for
    : : : : developing serious applications.
    : : : : Gopal.
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • Why is the child table inserting first in a composite association?

    Guys and Gals,
    Studio Edition Version 11.1.1.3.0.
    This one has gotten me all day. I have a child table which is inserting before its master table, even though the relationship is defined as a composite relationship.
    Process:
    1) User adds a part with a purchase price into the Part table.
    2) Via Part-PartHistories View Link, part is inserted into PartHistories.
    3) Via BPL-BPLRows View Link, part is inserted into BPLRows along with its purchase price. The part number is part of a composite primary key (BPL,PartNumber) and is a foreign key to the Part table.
    4) Via BPL-PL View Link, and then Via PL-PLRows View Link, part is inserted into PLRows along with its purchase price. The part number is part of a composite primary key (PL,PartNumber) and is a foreign key to the Part table.
    It is #4 which gives me an integrity constraint (PCS.PRICE_BUCKETS_PARTS_FK1) violated - parent key not found error. JDev is trying to insert in the order 4,1,2,3 when it should be 1,2,3,4. The kicker is that there is a composite association between #1 and #4 which should guarantee that 1 is inserted first. If I remove #4's process, steps 1-3 run fine. If I remove the composite association, JDev inserts correctly steps 1,2,3,4.
    Why is JDev trying to insert #4 first? I do a CreateInsert on the Parts table first so the creation order is correct. Furthermore, there is a composite association defined between Parts - PLRows.
    Something is indeed fishy in Denmark.

    LovettWB,
    You talk about VOs, but composite relationships need to be defined at the EO level. If you have indeed defined the proper composite associations, this sounds like a perfect test case to submit to Oracle Support to evaluate.
    If you do have the proper associations set up and things don't work, you could try [url http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadveo.htm#CEGECADE]this technique as a workaround.
    John

  • Why does this come up when trying to insert a fluid div tag

    Can someone tell me please   why i get this when trying to insert a fluid div tag on my  page  thanks in advance mark  @charset "utf-8"; /* Simple fluid media Note: Fluid media requires that you remove the media's height and width attributes from the HTML http://www.alistapart.com/articles/fluid-images/ */ img, object, embed, video { max-width: 100%; } /* IE 6 does not support max-width so default to width 100% */ .ie6 img { width:100%; } /* Dreamweaver Fluid Grid Properties ---------------------------------- dw-num-cols-mobile:    5; dw-num-cols-tablet:    12; dw-num-cols-desktop:    20; dw-gutter-percentage:    15; Inspiration from "Responsive Web Design" by Ethan Marcotte http://www.alistapart.com/articles/responsive-web-design and Golden Grid System by Joni Korpi http://goldengridsystem.com/ */ /* Mobile Layout: 480px and below. */ .gridContainer { margin-left: auto; margin-right: auto; width: 97.3913%; padding-left: 1.3043%; padding-right: 1.3043%; } #LayoutDiv1 { clear: both; float: left; margin-left: 0; width: 100%; display: block; } #LayoutDiv2 { clear: both; float: left; margin-left: 0; width: 100%; display: block; } /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */ @media only screen and (min-width: 481px) { .gridContainer { width: 98.913%; padding-left: 0.5434%; padding-right: 0.5434%; } #LayoutDiv1 { clear: both; float: left; margin-left: 0; width: 100%; display: block; } #LayoutDiv2 { clear: both; float: left; margin-left: 0; width: 100%; display: block; } } /* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */ @media only screen and (min-width: 769px) { .gridContainer { width: 99.3478%; max-width: 1232px; padding-left: 0.326%; padding-right: 0.326%; margin: auto; } #LayoutDiv1 { clear: both; float: left; margin-left: 0; width: 100%; display: block; } #LayoutDiv2 { clear: both; float: left; margin-left: 0; width: 100%; display: block; } }

    Firefox the web browser (from mozilla.org) nor Mozilla will NOT send any form or viruses, malware or toolbars into Firefox as it would hurt Mozilla far too much for any little gain.
    You seem to have the current Release Firefox 30.0 so there should be no more updates until Firefox 31.0 unless a chemspill update (30.0.1) was warranted in meantime for security and or stability fixes.
    So you are considering filing a lawasuit for Firefox prompting you for a Firefox update?.
    There are other reasons for connections like say looking updates for any Extensions and Themes you have installed, updates to a blocklist for Extensions and other safe things like mentioned at http://kb.mozillazine.org/Connections_established_on_startup_-_Firefox

  • Error while trying to Insert a pdf file in database

    Hi All,
    I have sent this problem to Informix. By any chance if you had faced the same problem and found the solution, pls send mail to [email protected]
    Thanks
    Babu
    Hi there,
    I tried to insert a pdf file in to Informix database. I followed the guidelines
    given in the "InformixJDBC Driver
    Programmer's Guide". Actually my program works if i use
    PreparedStatement.setBytes method. But why
    PreparedStatement.setBinaryStream method is not working????.
    Here is the code snippet.....
    Connection conn = null;
    PreparedStatement ps = null;
    try
    File ff = new File("C:\\test.pdf");
    InputStream value = null;
    FileInputStream fileinp = new FileInputStream(ff);
    value = (InputStream) value;
    int len = (int) ff.length();
    System.out.println("len: " + len);
    conn = connect();
    String sql = "INSERT INTO dbep04m@inf10004:pg_wip_t (c_db,n_object,u_img) VALUES (\"2\",?,?)";
    if (conn != null)
    long stTime = System.currentTimeMillis();
    ps = conn.prepareStatement(sql);
    for (int ii=1;ii<=10000;ii++)
    ps.setInt(1,ii);
    ps.setBinaryStream(2,value,len);
    int rtVal = ps.executeUpdate();
    //System.out.println("return value" + rtVal);
    ps.close();
    conn.close();
    long endTime = System.currentTimeMillis();
    System.out.println("Total time taken for this run: " + (endTime-stTime)/(1000) + " seconds");
    catch (FileNotFoundException ex)
    ex.printStackTrace();
    catch (IOException ex)
    ex.printStackTrace();
    catch (SQLException ex)
    ex.printStackTrace();
    finally
    try
    if (ps != null)
    ps.close();
    if (conn != null)
    conn.close();
    catch (SQLException ex)
    ex.printStackTrace();
    I am getting the following error message.......
    java.sql.SQLException: Insufficient Blob data
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java)
    at com.informix.jdbc.IfxSqli.sendStreamBlob(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendBlob(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendBind(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendExecute(IfxSqli.java)
    at com.informix.jdbc.IfxSqli.sendCommand(IfxSqli.java)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java)
    at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java)
    at com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java)
    at com.aexp.eaim.iu.isp.testcase.InsertBlob.insertUsingSql(InsertBlob.java, Compiled Code)
    at com.aexp.eaim.iu.isp.testcase.InsertBlob.main(InsertBlob.java:194)
    Here is the example given in the "Informix JDBC Driver Programmer's Guide". In the line maked bold, the blob size was hard coded as 10. Then
    why you are trying to find the file length???.
    try
    stmt = conn.createStatement();
    stmt.executeUpdate("create table tab1(col1 byte)");
    catch ( SQLException e)
    System.out.println("Failed to create table ..." + e.getMessage());
    System.out.println("Trying to insert data using Prepare Statement ...");
    try
    pstmt = conn.prepareStatement("insert into tab1 values (?)");
    catch (SQLException e)
    System.out.println("Failed to Insert into tab:" + e.toString());
    File file = new File("data.dat");
    int fileLength = (int) file.length();
    InputStream value = null;
    FileInputStream fileinp = null;
    int row = 0;
    String str = null;
    int rc = 0;
    ResultSet rs = null;
    System.out.println("Inserting data ...\n");
    try
    fileinp = new FileInputStream(file);
    value = (InputStream)fileinp;
    catch (Exception e) {}
    try
    pstmt.setBinaryStream(1,value,10); //set 1st column
    catch (SQLException e)
    System.out.println("Unable to set parameter");
    set_execute();
    public static void set_execute()
    try
    pstmt.executeUpdate();
    catch (SQLException e)
    System.out.println("Failed to Insert into tab:" + e.toString());
    e.printStackTrace();
    Best Regards
    Babu

    sorry!!!. There is an error in the code
    old code :
    value = (InputStream) value ;
    should be code :
    value = (InputStream) fileinp;

  • Can't find some albums when trying to insert photos into other programs

    I am having trouble finding albums (and thus pictures) when trying to insert photos into a Word document or upload to mySpace/ facebook etc.
    After choosing 'insert<picture<from file<pictures<iPhoto Library' , I have the option of looking into the year-month-date or by album. Since I have a better memory of the 50+ albums I have created rather than their dates, I choose "Albums". This list only contains about half of my albums (with folder icons) and it appears outdated...ie one of the albums no longer exists in iPhoto and has been changed to a folders with several albums in it.
    I'm wondering why this is happening or how i can update the album list. I realize i could use the year-month-day thing but that is too frustrating.
    Carey
    iBook G4   Mac OS X (10.4.3)  
    iBook G4   Mac OS X (10.4.3)  

    Hi chantreya,
    iPhoto 5 now stores the Album information in a data xml file. The Albums folder within the iPhoto Library folder is no longer used. At some point, usually after a rebuild, you will no longer have that folder in the Finder.
    If you need to access photos from an album it is very difficult for a third party application to navigate the iPhoto Library in order to find the photo you need. You will have to know the date of import in order to find the photo.
    There are some third party applications that can read the xml file and can navigate the iPhoto library and show you the Albums. Hopefully more applications will be revised to read this file.
    Until then you will have to Share/Export the photos to the desktop. You can then navigate to the desktop to use the photos (example: web uploading from online photo site)
    If your application supports drag and drop, you can drag the photo from an open iPhoto Library window into your application.
    For email you can also use the email icon within iPhoto to open a message with the highlighted photo attached.
    You can also use spotlight to find images in an Album...
    This is what I have done using Spotlight to find my images that are in iPhoto albums without opening iPhoto..
    In iPhoto, select the album, then select all, go to Photos/batch change.
    Change the comments to text. In the text field I put the name of the Album.
    Do this for each album.
    Close iPhoto.
    Open Spotlight and put in the name of the Album ( you have to remember the names of the albums or have then written down)
    In the spotlight search results. click on "show all"
    Under "Images" click on the "xx more" to show all the images in the album.
    Make sure you have it in icon view, the icon view box is the last one on the blue images line.
    Now you can control click on the image to "reveal in finder", open in iPhoto or Mail, etc.
    I am not sure if this is going to make you happy and it is a little more work, but you can find images in albums and even view them in a slideshow (by clicking the play arrow at the end of the Images highlighted blue line) using Spotlight, all without opening iPhoto.
    One important thing to know is you can set up a graphic program to be an external editor (when you double click an image in the library} such as PhotoShop or PS Elements. You set up that within iPhoto Preferences. Just make sure you save the image flattened and with the same name. The edits will then be relected in iPhoto when you hit "save".
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    About the iPhoto Library folder
    Lori

  • EREC: An error occurred when you tried to insert infotype 1001 in IDOC

    Hello Experts,
    I have standalone e-Recruitment system and separate SAP HR system. I have ALE configuration done to talk both system.
    In the Initial Transfer, I ran PFAL in HR system in 5 steps.
    Step 1  Execute PFAL (RHALEINI)for Obj Type O, Infotype 1000 and Transfer mode as Update mode
    Step 2  Execute PFAL (RHALEINI)for Obj Type S, Infotype 1000 and Transfer mode  as Update mode
    Step 3  Execute PFAL (RHALEINI)for Obj Type O and Transfer mode as Insert
    Step 4:  Execute PFAL (RHALEINI)for Obj Type S and Transfer mode as Insert
    Step 5:  Execute PFAL (RHALEINI)for Obj Type P and Transfer mode as Insert
    All IDOC created in update mode (Step 1 & 2) are green in receiving e-recruitment system but IDOC getting create in Insert mode (Step 3 ,4 &5) are in status 51/52 I mean Red.
    Error messages are as below:
    1) An error occurred when you tried to insert infotype 1001 using RH_INSERT_INFTY (return code 3).
    2) You tried to create a relationship from object 01S 76037685 to object 01AGC:R3HCM:OM_DISPLAY_US. However, object 01AGC:R3HCM:OM_DISPLAY_US does not exist or is not active in the period from 20110101 to 99991231
    3) You tried to create a relationship from object 01O 10840305 to object 01O 10299323. However, object 01O 10299323 does not exist or is not active in the period from 20110101 to 99991231.
    @ 3rd message : Object 10299323 exist but I still don't understand why I get this message.
    Please provide valuable suggestion so that I can get rid of this error in IDOC
    Appreciate your help.
    Regards,
    Krishna Bidwai
    Losangeles USA.
    818 527 0204.
    Edited by: krishna bidwai on Aug 22, 2011 7:19 PM

    Dear Krishna,
    Hope you are doing good.
    I know its very late in getting into this conversation. Since I am also experiencing the same issue, i need some inputs from you.
    The error you posted on the top is same what i am getting when I am doing data transfers from SAP HR to E-Rec systems. Our iDoc is working file in Development server but not in Quality server. I am experiencing the same errors what you have mentioned above.
    When i checked the error, this error has occurred in subroutine read_namtb for structure  of infotype.
    Proceedure is to Check the entry for infotype  in table T777D (structure, IDoc segment,
    expanded structure) and the corresponding structures.
    As you have resolved this issue before, can you please suggest what needs to be maintained in the tables such as T777D, T777E, and T777Z.
    Appreciate your valuable inputs on this.
    Thank you.

  • Why it is hard to insert photos properly in Pages?

    It is hard to insert photos properly in Pages.
    I was trying to insert several photos into 1 pages file, but when I moved the photos, these were getting no order.

    "Why is it hard to insert photos properly in Pages?" Because it is a stunningly buggy, poorly designed, and feature-starved piece of software. It was the removal of features that first captured most users' attention, but it has gradually been dawning on people that 1. the software really is shockingly buggy and 2. just not well designed: the new format panel, e.g., is not just a screen-real- estate hog, it makes even the simplest formatting MUCH more difficult.  The design for iOS devices is actually much easier to use. Pages for the Mac really is, as one early reviewer put it, an "unmitigated disaster." It is every bit as bad as the Apple Maps app, but I guess no one much cares about word processing, or maybe it's just that most who do use Word. More and more people who used to use Pages will be doing that in the future.

  • JDev 9i RC2 Failure when trying to insert a row with DATATAGS

    500 Internal Server Error
    oracle.jbo.JboException: Need the datasource property defined if not used
    within a DefinitionIterate, a RowSetIterator or a Row tag
    This is the error message occuring when i do the following
    I was trying to insert a record via DataTags (JBO Datatags in JDeveloper 9i
    Release Candidate 2).
    The following should show you the details
    <body bgcolor=#CCCCCC>
    <br>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <br>
    <jbo:ApplicationModule id="am"
    configname="PrevDoc.PrevDocModule.PrevDocModuleLocal" username="zode"
    password="zode"/>
    <br>
    <jbo:DataSource id="ds" appid="am" viewobject="MicEindocView">
    </jbo:DataSource>
    <br>
    <center>
    <p><b>MicEindocView Search Results</b></p>
    <br>
    <jbo:Row id="newRow" datasource="ds" action="Create" />
    <jbo:SetAttribute dataitem="Efdsid" value="9999" />
    <jbo:SetAttribute dataitem="Efdmandant" value="55" />
    <jbo:SetAttribute dataitem="Efdwerk" value="00" />
    <jbo:SetAttribute dataitem="Efdperiode" value='200204' />
    <jbo:SetAttribute dataitem="Efdvssart" value='AWB' />
    <jbo:SetAttribute dataitem="Efdvssnr" value='TEST WEB JODE' />
    </jbo:Row>
    <jbo:Commit appid="am" />
    <jbo:ReleasePageResources releasemode="Stateless"/>
    </center>
    </body>
    </html>
    These fields are not null fields in the database. At least this fields must be
    entered.
    Can you please tell me the reason why the above error occurs at any time??
    Thanks
    I appreciate all your help on this issue.
    Thanks a lot

    Josef,
    Remove the closing slash in this tag.
    <jbo:Row id="newRow" datasource="ds" action="Create" />
    I am sure you meant to close it with the </jbo:Row> some lines below.
    That explain the complaint of the setAttributeTag missing their context.
    Charles.

  • I am trying to insert values to IT0008 ....

    I am trying to insert values to IT0008 ....with following values
    ls_pa0008-begda = '20101231'.
       ls_pa0008-endda = '99991231'.
       ls_pa0008-LGA01 = '1000'.
      ls_pa0008-BET01 = '6'.
       ls_pa0008-TRFAR = 'RM'.
       ls_pa0008-TRFGB = 'B1'.
       ls_pa0008-TRFGR = 'MANAGER'.
      ls_pa0008-trfst = '03'.
      ls_pa0008-waers = 'GBP'.
       ls_pa0008-BSGRD = '100'.
       ls_pa0008-DIVGV = '173.33'.
    using FM  HR_Maintain_masterdata.....It is not inserting to new employee ...what could be the reason ....please help me on this..

    Why dont you use an Action type..like hiring....this will allow certain defaults into IT0008 like start date and end date.....during the action you will get to IT0007 which will default BSGRD and DIVGV into IT0008
    If you edit and maintain feature LGMST....That will default certain wagetypes into IT0008 for the employee based on employee group and subgroup.
    If you edit and maintain feature TARIF.....That will default Payscale area and payscale type for the employee based on personnel area and sub area and employee group and subgroup....
    It is basic configuration so you dont need to be writing all sorts of code etc............

  • Why do forms flicker on initial showing? (JdevX/adf/jclient)

    Why do forms flicker, when they are initially shown? I am using the standard code generated by JDev. Is there a way around this? I tried delaying showing the form by a sec after it is generated, but that has no effect, it still flickers. More complicated forms seem to flicker more. Anyone know why, and if there is a way aronud this?

    Dave,
    These are some of the things I have noticed about the CVS integration with that are a bit "unusual".
    1) Importing a module - It did not successfully check out the module afterwards... Yet I quit JDeveloper (10.1.3), and then go back in and I could then check out the module.
    2) The update facilty does not always seem to "update" the repository if a file has been recently checked in? However, if I click on the CVS Navigator and expand my repository, and then back to the Application view it then seems to have refreshed my view of CVS, and it will then work. I wondered if this was caused by conflicts with my project files, as JDeveloper does have the nastly habit of updating them frequently... However, 2 other developers have also noticed this, and we have now switched back to updating whole mobules using Tortoise as it just seems more reliable.
    How often does it pole the CVS server??
    On the plus side- I like the revision comparison tab panel. ;-) It is better than most IDE inbuilt CVS diff tools I have seen - not as good as Beyond Compare though.
    About my CVS configuration :-
    Server is on Windows 2003, using CVSNT (latest version - 2.5.03 I think I installed).
    Client - I changed my CVS executable to be the one shipped with Tortoise CVS, as I have it installed, and I wanted the ability to view my repository from the CVS navigator (I don't think the one shipped with Oracle 10g lets you do this). Client version is 2.5.02 I think... I would have to check that as I writing this from home.
    Oh, and I have a CVSROOT environment viarable set, which lets JDev setup my CVS connection automatically.
    I hope this info helps.
    Cheers.....Dean

  • Formula calculated database field tries to insert null

    Good Morning,
    I have 3 database text items Amount , rate and result.
    I input the two values (Amount and rate) and using the formula property "result" gets the calculated value.
    On display all the values are shown correctly but when trying to save my information the text field "result" is trying to insert null.
    Any suggestions?
    Forms 11g
    Thank you in Advance

    794018 wrote:
    Good Morning,
    I have 3 database text items Amount , rate and result.
    I input the two values (Amount and rate) and using the formula property "result" gets the calculated value.
    On display all the values are shown correctly but when trying to save my information the text field "result" is trying to insert null.Formula item should not be database item. And also inserting result column value into database is not good idea.
    Then after if you want to save it. create result database item and write trigger (When-Validate-Item) on both amount and rate filed and at trigger code, write
    :result:=:amount*:rate;To display the result on form, create non database item and change property to formula and write the formula.
    Hope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

  • I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id

    I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id
    these inserts will store in two tables that I have to join in the cursor.
    I have written cursor without passing cursor parameters. but here i need to pass acb_id and xyz_id along with alert_id.
    then if these are saticified with alert_id 22 then I want to stop the loop run, else i need to continue the loop. bcause the abc_id and xyz_id are diff for alert_id 22
    This is the issue I am facing!
    Please let me know if you have any idea. Let me know how to use cursor parameters here and in loop.
    Sample proc like this::
    Declare
    main_cursor
    another_cur
    alert_cur
    begin
    need to check first abc_id,xyz_id is already exist with alert_id 22
    if this set of records already exists then
    exit from the loop
    else
    continue with
    loop
    here coming the insert statements with different condition getting from first two cursors.(this part is ok for me)
    end loop
    end if
    Please write the logic if any idea on this.
    -LRK

    I want to stop if already alert_id is exist!

  • The display on my iPod is extra large and I am have no idea why.  I tried the HOME button and the power button at the same time but that doesn't work.  I can't even enter my code to unlock it because I cannot scroll the HUGE display!  Any ideas??

    The display on my iPod Touch is HUGE and I have no idea why.  I tried the HOME button and power button at the same time.....no help.  I cannot enter my unlock code because I can't scroll without entering a wrong number!  HELP!!

    Using three fingers, double-tap the screen.
    http://support.apple.com/kb/TS3129

  • Fatal Internal Error: "image.cpp", line 13192 when trying to insert a cursor to graph

    NOTE:  This IS a duplicate post from the Breakpoint.  Text slightly changed.  The post in Breakpoint can be deleted.  All comments should be placed in this thread.
    I resolved the "Fatal Internal Error: "image.cpp", line 13192 when trying to insert a cursor to graph", but would like to share to find out if others have seen this and to determine whether this is a bug, or if it's time to redo my PC, or buy a new one..  
    I have an existing graphs (qt 6) which originally had 2 cursors.  This occurred while trying to add the third cursor. 
    Up until attempting to add the last cursor, the program worked great, and I had been running tests for a while.  However, I do recall seeing this problem when creating the original cursors, but not to this extent.  Plus I don't remember the original error message from that time.
    I needed to add one more cursor to the existing graphs.  As soon as I add a new cursor and set it's properties, I get a nasty error message and without warning LV8.2 simply closes itself (well, the only warning was the error message.  Tried it 3 times, same result.
    Here are the steps:
    Shut down the PC, went for a coffee, rebooted the PC.  Opened the LV project, opened the VI.  Immediately went to the graph properties to add the new cursor by doing the following steps: 
    Right click graph indicator icon on block diagram.
    Select Properties.
    Click on cursor tab.
    Click on Add
    Select Cursor 2 (3rd one, newly created)
    Change color
    Select cursor as a line
    Remove checkmark for "show cursor"
    Click OK
    I need to do this to 3 other graphs, same steps.  And as soon as I get to the step before clicking OK, I get the error message. 
    I managed to get an additional one done, by immediately saving after each step (yep going in & out of the properties).  But I've had this problem before when creating the first two cursors.
    Is it a bug?  Anyone else seen this?  Using LV8.2.  And the message is right about LOOSING ALL unsaved work!!!! 
    Here are more observations:
    Tried creating a new one on the second graph.  As soon as I clicked on the color, it crashed!
    See the error explanation below.  It is really clear, now anyone can solve it    LOL!!...  According to the error log, there's a bad image out there  
    .\manager\image.cpp(13192) : DAbort: bad image in ValidateImage
    $Id: //labview/branches/Europa/dev/source/manager/image.cpp#47 $
    0x007A81E8 - LabVIEW <unknown> + 0
    0x007A7BDB - LabVIEW <unknown> + 0
    0x00829D74 - LabVIEW <unknown> + 0
    0x008546CD - LabVIEW <unknown> + 0
    0x00C054E6 - LabVIEW <unknown> + 0
    0x0081B9C8 - LabVIEW <unknown> + 0
    0x0081EB9A - LabVIEW <unknown> + 0
    0x0084D9D4 - LabVIEW <unknown> + 0
    0x00854663 - LabVIEW <unknown> + 0
    0x00C054E6 - LabVIEW <unknown> + 0
    0x0085F7A1 - LabVIEW <unknown> + 0
    0x00BBACDD - LabVIEW <unknown> + 0
    0x00C06A2F - LabVIEW <unknown> + 0
    0x0085AA46 - LabVIEW <unknown> + 0
    0x00C06A2F - LabVIEW <unknown> + 0
    I observed the title bar after making changes to the properties.  I noticed that 3 out of 4 times, while changing the properties of the graphs to include the cursor, and saving after each & every step, that there were no stars appearing on the title bar to indicate "unsaved changes".  Saving was also much slower than usual.  I suspect, the program never got to placing the star before saving occurred.  However, I am noting everything.
    After creating the cursors, saving was and is normal, and the program runs well..   I have run tests without problems.
    Does anyone have a clue at what causes this?   Has anyone seen this before?
    Thanks,
    RayR

    Hi Donovan,
    I can't remember seeing this elsewhere.  When I get a chance, I'll create a new (blank) vi with new graphs and will repeat the steps. 
    I will let you know if I see this in the new vi.
    Thanks!
    RayR

Maybe you are looking for

  • WIJ 20002 error on long running reports

    When trying to run a long running report, an error message is received . Quote: *"The Web Intelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error:

  • Screen goes grey and asks to hold down the power button and reboot

    I have a   Model Name:          MacBook Pro   Model Identifier:          MacBookPro3,1   Processor Name:          Intel Core 2 Duo   Processor Speed:          2.2 GHz   2GB Ram Could this be a hardware or software issue? Didn't hear any noises associ

  • Authorization in WEB UI

    Hello, Guru! I want to create company wich generate lead. When i go to create Compaign (in role SAP_CRM_UIU_MKT_PROFESSIONAL) i see next error Cannot display view MKTPRJ_COMMCHNL/OVEFChannels of UI Component MKTPRJ_COMMCHNL An exception has occurred

  • How to get the foreground/background color in photoshop.

    I want to get the foreground or background color at runtime ( by any action ) in photoshop. What steps should I follow.

  • Issues with the new update

    Skype for Kindle Fire HD recently updated and it is absolutely terrible. Whenever I go out of the app it signs me out and I don't even know it so I end up missing important calls. It won't let me video chat, when I turn on video it crashes the entire