Results 1 to 3 of 3
  1. #1
    Kat-ness is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    26

    Autonumber through a form, not a table

    In short, we're using Oracle to back up the records on an Access database. The tables are all in Oracle and I don't have the ability to manipulate them like I could in Access. Apparently, autonumber is not done with Oracle tables so I need to find another way to set up an autonumber.



    Does anyone know how to do this in Access without using tables? Can I create an autonumber on a form?

    Thanks,
    Kat-ness

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    If you can't set up field in Oracle to automatically increment, then need code in VBA to generate a custom unique ID. The trick is figuring what event to put code in.

    Custom unique ID is common topic in forum. Search forum or Google.

    For a start review:
    https://www.accessforums.net/access/...ers-21361.html

    http://forums.aspfree.com/microsoft-...ta-403208.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Kat-ness is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    26
    Thanks June,
    I saw something else on how to do a code to create an autonumber so your comments definitely support that. I appreciate your help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 04-27-2012, 05:14 PM
  2. Replies: 1
    Last Post: 01-31-2012, 11:54 AM
  3. autonumber in table and forms
    By ismith in forum Forms
    Replies: 1
    Last Post: 01-04-2012, 10:50 AM
  4. Replies: 1
    Last Post: 11-15-2011, 02:50 PM
  5. CREATE TABLE and AutoNumber fields
    By JTeagle in forum Queries
    Replies: 1
    Last Post: 11-10-2011, 03:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums