CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2004
    Posts
    438

    ASP Classic - ADO Recordsets - Getting last insert id?

    I'm using ASP Classic for a legacy site we're working on. I'm using the ADO recordsets to get back information from the database.

    Is there any way of finding the last insert id for the recordset, such as a built in keyword or function? Or do I have to get the last insert with a function and then add one to it?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: ASP Classic - ADO Recordsets - Getting last insert id?

    Unlike MySQL/SQL, ADO does not requery the database by its own accords. This means you will have to do it yourself.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Dec 2004
    Posts
    438

    Re: ASP Classic - ADO Recordsets - Getting last insert id?

    wrong thread.

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: ASP Classic - ADO Recordsets - Getting last insert id?

    Wrong thread? What do you mean?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured