+ Reply to Thread
Results 1 to 2 of 2

DataBase AutoNumber Return

  1. #1
    Forum Contributor
    Join Date
    07-23-2016
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    273

    DataBase AutoNumber Return

    I found some code on the internet for getting the autonumber (keyed in the below code) of the last record added to a table, see "Method from Internet" in below code. I then tried something simpler, see "My Method" in the below code. Both seem to work and give the same result. Is there something wrong with my simple method, "My Method"?
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    07-23-2016
    Location
    Texas
    MS-Off Ver
    2016
    Posts
    273

    Re: DataBase AutoNumber Return

    Doesn't anyone know the answer as to which is the best way to get the value of the AutoNumber field in an access database after a record has been added?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Return a entire row from a database
    By RicMont in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-16-2015, 11:12 AM
  2. Textbox3 should return negative values in database
    By achishti in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2015, 03:08 AM
  3. How to return multiple values from a large database
    By kdelgreco2014 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-10-2014, 11:39 AM
  4. UDF to return value from Access Database
    By sike64 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-17-2012, 02:15 PM
  5. [SOLVED] Still having issues creating editable database with autonumber, credential capture, etc.
    By Orestees in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-20-2012, 02:06 PM
  6. Dependant Value Return - Employee Database
    By yahnivek in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2009, 11:41 AM
  7. [SOLVED] How to format a cell with VBA to return a value from a database?
    By R in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2005, 10:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1