Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,790| Members 17,820, Newest waheguruhelpme| Online 211
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

record locks

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Clergy is worried as rural Punjab shaves its locks. kaur-1 Sikh News 1 22-Oct-2006 02:11 AM
Locks - Alex Information Technology 2 28-Jul-2006 08:15 AM
Why does my DB not allow any updates when 18 locks are reached? gsaladin Information Technology 2 28-Jul-2006 08:12 AM
Go to new record after using Print Record command on form. ahearn Information Technology 2 28-Jul-2006 08:12 AM
have data access page open with new record or blank record. drose2112 Information Technology 1 29-Oct-2005 12:35 PM


Tags
record, locks
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:37 AM
DSharbaugh's Avatar DSharbaugh
Guest
 
Posts: n/a
   
   
record locks

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I am working with an inherited table (of nearly 900,000 records), which was
originally developed with a unique key. When I try to add an autonumber
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13420-record-locks.html
field to this table in order to have a primary key field, I get the error
"maximum number of record locks exceeded". There are only about 20 data
fields and the default record locking option for the db is set at "no locks".
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13420
Can someone explain what my problem is, and how it can be (hopefully) fixed?

Thanks,

DLS

*








 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:37 AM
Allen Browne's Avatar Allen Browne
Guest
 
Posts: n/a
   
   
Re: record locks

This should work around whatever is causing the issue:

1. Close Access.

2. Make sure there is no LDB file in the same folder as the MDB (spurious
locking info, or indicating someone else has the file open.)

3. Open the file exclusively.
Version dependent, but in A2003:
File | Open, select file, drop-down the Open button, and choose
Exclusive.

4. Uncheck the boxes under:
Tools | Options | General | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13420

6. Compact the database:
Tools | Database Utilities | Compact/Repair.

7. Make a copy of the table structure:
Select the table in the Database Window.
Copy (Ctrl+C).
Paste (Ctrl_V).
Choose Structure Only.

8. Open the new, empty table in design view, and add the AutoNumber field.

9. Populate the new table with an Append query.
(Apppend on Query menu, in query design.)

10. After verifying the data is correct, remove any relations on the old
table.

11. Delete the old table.

12. Compact again.

13. Rename the new table with the old name.

14. Recreate any relations you deleted at step 10.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"DSharbaugh" wrote in message
news:38869E88-48B8-4854-A4FA-AC49276BA6EA@microsoft.com...
>I am working with an inherited table (of nearly 900,000 records), which was
> originally developed with a unique key. When I try to add an autonumber
> field to this table in order to have a primary key field, I get the error
> "maximum number of record locks exceeded". There are only about 20 data
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13420
> fields and the default record locking option for the db is set at "no
> locks".
> Can someone explain what my problem is, and how it can be (hopefully)
> fixed?
>
> Thanks,
>
> DLS



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:37 AM
ChrisM's Avatar ChrisM
Guest
 
Posts: n/a
   
   
Re: record locks

  Donate Today!  
Hi Allen,

Just read with interest your article on AutoCorrect. I'm using Access2000,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13420
and was unaware of this feature.
I have built a fairly large database, that, by default, has this turned on.
I have been experiencing some of the problems you mentioned, but have
generally managed to fix them without realising what has caused them.
May try what you recommend, and import all my objects into a new 'fixed' DB.

Thanks for that.

Cheers,

Chris.

"Allen Browne" wrote in message
news:eTLSyViqGHA.4992@TK2MSFTNGP05.phx.gbl...
> This should work around whatever is causing the issue:
>
> 1. Close Access.
>
> 2. Make sure there is no LDB file in the same folder as the MDB (spurious
> locking info, or indicating someone else has the file open.)
>
> 3. Open the file exclusively.
> Version dependent, but in A2003:
> File | Open, select file, drop-down the Open button, and choose
> Exclusive.
>
> 4. Uncheck the boxes under:
> Tools | Options | General | Name AutoCorrect
> Explanation of why:
> http://allenbrowne.com/bug-03.html
>
> 6. Compact the database:
> Tools | Database Utilities | Compact/Repair.
>
> 7. Make a copy of the table structure:
> Select the table in the Database Window.
> Copy (Ctrl+C).
> Paste (Ctrl_V).
> Choose Structure Only.
>
> 8. Open the new, empty table in design view, and add the AutoNumber field.
>
> 9. Populate the new table with an Append query.
> (Apppend on Query menu, in query design.)
>
> 10. After verifying the data is correct, remove any relations on the old
> table.
>
> 11. Delete the old table.
>
> 12. Compact again.
>
> 13. Rename the new table with the old name.
>
> 14. Recreate any relations you deleted at step 10.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13420
>
> "DSharbaugh" wrote in message
> news:38869E88-48B8-4854-A4FA-AC49276BA6EA@microsoft.com...
>>I am working with an inherited table (of nearly 900,000 records), which
>>was
>> originally developed with a unique key. When I try to add an autonumber
>> field to this table in order to have a primary key field, I get the error
>> "maximum number of record locks exceeded". There are only about 20 data
>> fields and the default record locking option for the db is set at "no
>> locks".
>> Can someone explain what my problem is, and how it can be (hopefully)
>> fixed?
>>
>> Thanks,
>>
>> DLS

>
>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 08:46 AM
22 Replies, 335 Views
sikhism How important is Matha...
Today 08:12 AM
59 Replies, 1,038 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 81 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 53 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 116 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,837 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 229 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 44 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 66 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 47 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 49 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 414 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 51 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 09:30 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.36561 seconds with 30 queries