Re: MSAccess: Too many fields defined when trying to add column
- From: "Mary Chipman [MSFT]" <mchip@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 13 Jul 2007 14:21:33 -0400
It's clearly not the table definition that's the problem. It sounds
like it's corrupted - maybe even the entire database is corrupted. If
you've already compacted and repaired, try this: rename the table and
create an entirely new table with the same schema. Write an append
query to load the data. To be really safe, create an entirely new
database and import the good tables, leaving out the bad table. Then
recreate the bad table and load the data. FWIW, error messages can't
always be taken literally. When you have a totally illogical message
like that, you know something else is going on.
-mary
On Wed, 11 Jul 2007 18:29:37 +0100, "Keith Sheppard"
<keith.sheppard@xxxxxxxxx> wrote:
I am using Access 2000 (9.0.3821 SR-1)..
One of my access database tables seems to have developed a bizarre problem
that I cannot add columns to it. I have tried both programatically with a
query string of the form:
ALTER TABLE MasterPoints ADD COLUMN fred Double
And I've tried doing it in design view. In both cases, I get the error
response: "Too many fields defined" (in design view the error doesn't appear
until you try to save your changes). What? The table only comprises 11
columns so what does "Too many fields defined" mean?
I have even tried removing one of the existing columns (works OK) and then
when I try to re-add the same column back in and I get the "Too many fields
defined" error. The problem only affects this specific database table. I
can add columns to other tables without any difficulty.
Perhaps even more bizarrely, I have a backup of my database dated 26th June
07. I can add columns to the same table in this fortnight old backup
without problem so something, I've no idea what, has happened to the
database in the intervening two weeks.
Any suggestions? In case it's relevant, the current columns in the table
are:
ID AutoNumber
MembershipNumber Long
NonMemberName Text(100)
CompetitionID Long
MasterPoints Single
Status Long
DateCredited Date/Time
RecordUpdated Yes/No
Colour Long
SessionNo Long
MPTotalsString Memo
Keith
- References:
- MSAccess: Too many fields defined when trying to add column
- From: Keith Sheppard
- MSAccess: Too many fields defined when trying to add column
- Prev by Date: Re: Connecting to IBM AS 400 or I5
- Next by Date: Re: SQLGetData/NUMERIC field in MS Access database
- Previous by thread: MSAccess: Too many fields defined when trying to add column
- Next by thread: Re: Column with decimal
- Index(es):
Relevant Pages
|
|