Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
I am developping an application with an Oracle Database.
When I'm doing an addnew on a recordset, after the update, the identifying field is not incremented, it is equal to 0 and not the right value.
example
ID is an autonumber)
rs.addnew
rs("refequipement"
=Request(refequipement)
rs.Update
response.write(rs("ID"
)
and when I execute this, it writes: "0"
The only solution I know is to close the recordset and to re-open it.But it doesn't meet my quality standard.
If you know another solution, please tell me.
Thanks.![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)
I am developping an application with an Oracle Database.
When I'm doing an addnew on a recordset, after the update, the identifying field is not incremented, it is equal to 0 and not the right value.
example
rs.addnew
rs("refequipement"
rs.Update
response.write(rs("ID"
and when I execute this, it writes: "0"
The only solution I know is to close the recordset and to re-open it.But it doesn't meet my quality standard.
If you know another solution, please tell me.
Thanks.
![[noevil] [noevil] [noevil]](/data/assets/smilies/noevil.gif)