Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Identity return failure

Status
Not open for further replies.

BomberMan2K

Programmer
Sep 19, 2007
36
IL
Hi,
I'm moving to MSSQL2005 from Access and having a small problem.
I use ASP and ADO to work with MSSQL.
When i create a new record through ASP, in a table which has an identity column - i can't get the identity column which is generated automaticaly.
After I update the newly created record, i should have access to each of it's fields and should be able to retrieve the info - which is not possible for me with the identity field.
This problem was not present when using Access, and also wasn't present when i just moved to MSSQL - it's something new.
The code itself is 100% O.K - it works fine with Access DBs.

What could be the problem and how can it be solved?

Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top