Hi
I have this sql-statement:
Sql = "insert into user(user_name) values('"&Request.Form("user_name"&"')"
objCommand.execute(sql)
In the table user I have column named user_id that is autonumber.(MS Access).
How can I get the last inserted user_id?
Can I do it in another way than:
Sql="select user_id from user where user_name='"&Request.Form("user_name"&"'"
Please help me Jørn Arild Andenæs
jaa@jaa.no
I have this sql-statement:
Sql = "insert into user(user_name) values('"&Request.Form("user_name"&"')"
objCommand.execute(sql)
In the table user I have column named user_id that is autonumber.(MS Access).
How can I get the last inserted user_id?
Can I do it in another way than:
Sql="select user_id from user where user_name='"&Request.Form("user_name"&"'"
Please help me Jørn Arild Andenæs
jaa@jaa.no