Re: Maximum Columns in a table in Access

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If you really need more fields (this is rarely a good idea) you might try
copy and paste the table to a new table. This may allow you to add up to 255
(shudder) fields. Otherwise, try create a make table query based on your
existing table. See if you can add more fields in the "made" table.

I assume you understand normalization and have a good reason for more than
30 fields.

--
Duane Hookom
MS Access MVP
--

"Tracey" <Tracey@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A3978BE9-F40A-47FE-A73E-3925A868906C@xxxxxxxxxxxxxxxx
>I understand the maximum columns allowed in one table in Access is over
>200.
> I only have 134 in one of my tables, but I keep getting an error message
> telling me I have too many when I try and put new validations in and then
> save. Anyone any ideas why and how to get around this? It's driving me
> mad!!
>
> The exact error message is:
> "This error can appear if you have exceeded the maximum number of columns
> allowed in a table or the maximum number of locks for a single file.
> If a table exceeded the maximum number of columns, close the database,
> select Compact and Repair from the Tools - Database Utilities menu option.
> This will remove column references from a table definition that were
> marked
> as deleted (deletions do not actually occur until the database is
> compacted
> and therefore they contribute to the column count).
> If the maximum number of locks per file was exceeded, you can increase the
> number by editing a registry entry for the local computer. However, this
> is
> not a recommended option.
> Find the MaxLocksPerFile registry value using the Windows registry editor
> (regedit.exe) and increase the value.
> The MaxLocksPerFile value is stored as part of the following key:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Jet 4.0
> If you edit a value in the Windows registry, there is no guarantee that
> the
> change will not corrupt the registry and render Windows unusable. Edit
> the
> registry at your own risk. If you do, it is highly recommended you make a
> backup of the registry before performing any edits."
>
> I have tried compacting and repairing and this makes no difference, and I
> don't k now what locks on a file are, so don't know whether this is the
> problem instead!
>


.



Relevant Pages

  • >>>> EDIT REGISTRY <<<<
    ... Edit Registry Keys Http ... How To Disable Local Registry Edits ... Registry Edits For Windows Vista Startup ... Windows Xp Sp2 Remote Registry Edit ...
    (sci.engr.analysis)
  • Re: Deleting Search Entries
    ... Edit IE URL is a freeware that lets you keep only the URLs you want to ... see in the Internet Explorer's address bar. ... These URL addresses are maintained in the Windows Registry and can be ...
    (microsoft.public.windowsxp.general)
  • Re: Microsoft Photo Editor
    ... By default Photo Editor is install into this directory C:\Program ... I found this will not work in the registry edit. ... Control the things you can and Don't Worry about the things you can't ...
    (microsoft.public.windowsxp.photos)
  • Re: Mail Rule Problem
    ... Yes you will have to go into the registry to remove it then edit the numbers ... Each subkey below mail corresponds to a rule. ... Once you have the rules renumbered, close Regedit ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • RE: Help Understanding DCOM Error
    ... nor can I even find the registry key that I am told to edit. ... > Can someone explain what DCOM is all about. ... > If the problem continues to occur, contact the program vendor. ...
    (microsoft.public.windowsxp.help_and_support)