Results 1 to 3 of 3
  1. #1
    JamesR is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5

    Access - auto-sequence number when deleting field mid point.

    This maybe a strange one for you



    At present I am running Revit Architecture with DBLink to access to edit fields for shelving etc.

    What i am doing is fitting out warehouses with 600+ shelving units and they are all numbered.

    These numbers are tagged in the drawing.

    What I am hoping to do is export the data to access (completed) then amend any changes within access.

    Normally, we would put say 600 shelving units on a drawing all tagged 1-600. But then the client may want to delete shelving unit 321.

    Leaving the drawing with all shelving units tagged 1-320,322-600.

    How would i go about it so access renumbers all data after the deleted field (ie number 321)?

    Thank you in advance.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    you would have to create a make table query using all fields except the existing ID field. Then in your new table, in design view, create a field that is the new ID field and have it autonumber. Save the new table. Delete your old table.

    Alan

  3. #3
    JamesR is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5
    OMG!

    Thank you, I have been trying to do it a lot harder way.

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

Similar Threads

  1. Auto number a field
    By jenncivello in forum Access
    Replies: 2
    Last Post: 11-16-2011, 11:28 AM
  2. how to auto inset sequence number at column
    By newaccess in forum Access
    Replies: 1
    Last Post: 04-01-2011, 06:55 PM
  3. Replies: 4
    Last Post: 06-25-2010, 12:32 PM
  4. Auto Sequence String Serial Number
    By eddyc99 in forum Programming
    Replies: 2
    Last Post: 10-02-2009, 08:11 AM
  5. Restart auto number after deleting records
    By P5C768 in forum Database Design
    Replies: 1
    Last Post: 09-11-2009, 02:07 PM

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