Author: haddaway | Posted on: 8/26/2009 8:37:07 AM | Views : 325

Hi all,
I'm a long-standing PHP developer, with one legacy site I have to service for a large client, which is ASP.NET.
I am having no fun at all.
I'd really like a bit of help with something that should be easy, but isn't. I just want to pull out the ID of the last inserted record. I've been googling all afternoon but nothing works.
This is as far as I've got:
set rsSelect = server.CreateObject("adodb.recordset") rsSelect.activeconnection = str_connect rsSelect.source = "insert into tbl_newsletter (news_name,news_surname, news_email,news_interested,news_who,news_house,news_postcode,news_magazines, news_referrer, news_hotel) values ('" & v_name & "','" & v_surname & "', '" & v_email & "','" & v_interested & "','" & v_news_who & "','" & v_news_ ...

Go to the complete details ...