@@IDENTITY is Transact-SQL which is the querying language for
SQL Server and
not ASP. This will only work if you are using SQL Server for
your database.
Anyway, you do not want to use @@IDENTITY. SCOPE_IDINTITY()
is much more
reliable but is also SQL Server only.
"MikeL7" <webforumsuser@macromedia.com> wrote in
message
news:f7g72m$48l$1@forums.macromedia.com...
> Try this one it should be easy to follow:
>
http://www.kamath.com/tutorials/tut007_identity.asp