i am using asp with vbscript and sql server.
i have a field in my database that is an autonumber (increments by one but is numeric). I need my web form to work so that i can insert a record from a form (which i know how to do) but i need to retrieve the ID (autonumber) from the record I just inserted. I've tried using stored procedures and cna't get that to work cuz im not too familiar with them and i've tried other things but can't seem to get it. does anyone have any suggestions?
i have a field in my database that is an autonumber (increments by one but is numeric). I need my web form to work so that i can insert a record from a form (which i know how to do) but i need to retrieve the ID (autonumber) from the record I just inserted. I've tried using stored procedures and cna't get that to work cuz im not too familiar with them and i've tried other things but can't seem to get it. does anyone have any suggestions?