How I can get identity for new inserted rows

Home Forums Discussion Board How I can get identity for new inserted rows

This topic contains 2 replies, has 3 voices, and was last updated by  aroncox 6 months, 2 weeks ago.

  • Author
    Posts
  • #110

    benya_98
    Participant

    I have multiple rows updated in datawindow. How I can get identity for new inserted rows?

  • #116

    pbgeeks
    Keymaster

    Did you try to specify the identity column in the datawindow and make sure the column is selected. This should auto retrieve the identity value after every insert.

  • #136

    aroncox
    Participant

    Be wary of any triggers that change the identity. Check the PBODBxxx.INI file for the section for your database connection type, it shows what command is used for PB to auto retrieve the values after an insert. You may have to change this if you have any triggers on the table.

You must be logged in to reply to this topic.