Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 24th, 2004, 07:08 AM
Registered User
Join Date: Mar 2004
Location: Mars, PA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP Insert - Get Record ID

Hello All,

I have the following issue.

I have a web page where I capture event registration data
and insert it into an Access database. This part works fine.
I am trying to find an easy way retrieve the record id of
the newly entered record.

The registration record is inserted into a single Access table
that uses an AutoNumber fields as the primary key.

None of the other data in the record could guarantee a unique
key with which I could lookup the record.

Any information or ideas will be greatly appreciated.



Reply With Quote
  #2 (permalink)  
Old March 24th, 2004, 07:28 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post

Reply With Quote
  #3 (permalink)  
Old March 24th, 2004, 11:11 AM
Registered User
Join Date: Mar 2004
Location: Mars, PA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Thank you for the quick reply. I will try
this solution (@@IDENITY).

Thanks Again,


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Add New Record and Get ID omninewt Classic ASP Databases 5 April 10th, 2008 12:20 PM
Insert Record & retrieve ID gundulf ADO.NET 5 July 12th, 2007 10:03 PM
ASP program How to add new ID for new record kinshuk SQL Server ASP 3 March 21st, 2005 02:43 PM
Insert new record ID levinho Classic ASP Databases 5 January 14th, 2004 12:03 PM

All times are GMT -4. The time now is 09:07 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.