"diz" <m-bekkel@online.no> wrote in message
news:xAwS6.4789$lM3.111517@news1.oke.nextra.no...
> Does anyone know if there is a function in asp
> that retrieves the id of a record when inserting in a table ?
> Like "mysql_insert_id" for PHP...
If you use MS SQL you can het it througt the @@Identity var.
Else look here: <
http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=79>
--
Jakob Andersen
FAQ for webdesign gruppen på
<
http://www.usenet.dk/oss/dk.edb.internet.webdesign>
"Det er rart at være vigtig, men det er vigtigere at være rar
"