Insert Retrieve ID

Results 1 to 2 of 2

Thread: Insert Retrieve ID

  1. #1
    Join Date
    Dec 1969

    Default Insert Retrieve ID

    I have a form that I wish to Submit to an Access database with an AutoNumber primary key. What I would like to do is submit the data into the database and on the same form capture the primary key into a session variable to send to the next page. I know that I have to resubmit the form back to itself and then redirect after, but I&#039;m a little lost.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Insert Retrieve ID

    Check the FAQs (link called ASPFAQs in the top-right).<BR><BR>There&#039;s an article under one of the database sections which tells you EXACTLY how to do this, and all the pitfalls.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts