Results 1 to 13 of 13
  1. #1
    jsmmao is offline Novice
    Windows 7 Access 2003
    Join Date
    Jan 2010
    Posts
    7

    Access Auto Number Help

    Hi,
    I have a quick question. I am working on Windows XP with Microsoft Office 2003. The database I am working on has over 300,000 lines and what I am trying to do is make another field with numbers so that I can identify each line when running a query. When I try to set an Autonumber field it says "file sharing lock exceeded. Increase MaxLocksPerFile registry entry". Does anyone have any ideas as to how to fix this issue?



    Thanks in advance

  2. #2
    jsmmao is offline Novice
    Windows 7 Access 2003
    Join Date
    Jan 2010
    Posts
    7
    Or...is there anyway to auto fill a new column to go from 1-300,000

    thanks

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Create a New Table with the extra AutoNumber field then append the old table to it.

  4. #4
    jsmmao is offline Novice
    Windows 7 Access 2003
    Join Date
    Jan 2010
    Posts
    7
    How exactly do you do that once you have the two tables. Thanks alot for your help. Any ideas are appreciated.

  5. #5
    jsmmao is offline Novice
    Windows 7 Access 2003
    Join Date
    Jan 2010
    Posts
    7
    through a query? I wanted to keep it in a table

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Can you use a wizard to make an Append query?

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    An Action Query such as an Append query will modify an existing table.

  8. #8
    jsmmao is offline Novice
    Windows 7 Access 2003
    Join Date
    Jan 2010
    Posts
    7
    I tried running it through the wizard and I cant get it to work. Im not sure what to use to establish a relationship between in both of the tables. There really isnt a constant..

    Thanks again for your help and sorry if Im not understanding (somewhat a beginner on access)

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    You create a SELECT query of the New table then in design mode of the query RightClick and select QueryType and then Append Query.

  10. #10
    jsmmao is offline Novice
    Windows 7 Access 2003
    Join Date
    Jan 2010
    Posts
    7
    I still cant get it to work. It will not append once in the Select query. I opened the new table up (with the autonumber) in the new query. Then I try to append it to my other table with all of the information. It tells me I can do it.

  11. #11
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    My post #9 should have said create a SELECT query of the *old* table. Then switch it to an Append query and it will ask you to what table.

  12. #12
    jsmmao is offline Novice
    Windows 7 Access 2003
    Join Date
    Jan 2010
    Posts
    7
    Ok, that works. Thanks for your help

  13. #13
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    You're welcome. Glad we could help.

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

Similar Threads

  1. Auto-number
    By rkski in forum Programming
    Replies: 2
    Last Post: 01-13-2010, 02:04 AM
  2. Custom & Auto Incrementing Job Number
    By mastromb in forum Programming
    Replies: 1
    Last Post: 01-05-2010, 02:58 PM
  3. Auto Sequence String Serial Number
    By eddyc99 in forum Programming
    Replies: 2
    Last Post: 10-02-2009, 08:11 AM
  4. Auto Number in Query
    By Alex Motilal in forum Programming
    Replies: 1
    Last Post: 09-21-2009, 07:17 AM
  5. Need help with an auto number
    By Wrangler in forum Database Design
    Replies: 1
    Last Post: 02-10-2006, 03:21 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