473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

too many fields defined

I keep getting a run-time error that 'too many fields are defined' (it
thinks there is more than 255, even when there is not). I looked this
problem up at
http://www.microsoft-accesssolutions...ds_defined.htm which
explained it somewhat, but their simple solution of compacting the database
does not help me avoid this error. Their other solution of normalizing the
database to the third normal form is not practical for me (the database
isn't my creation to begin with and I'm very short on time).

I am wondering if others get this error and what they do about it.

Thanks in advance, marie
Nov 13 '05 #1
6 3920
"Modest Marsupial" <Ma*******@mbg.com> wrote in message
news:10*************@corp.supernews.com...
I keep getting a run-time error that 'too many fields are defined' (it
thinks there is more than 255, even when there is not). I looked this
problem up at
http://www.microsoft-accesssolutions...ds_defined.htm which explained it somewhat, but their simple solution of compacting the database does not help me avoid this error. Their other solution of normalizing the database to the third normal form is not practical for me (the database
isn't my creation to begin with and I'm very short on time).

I am wondering if others get this error and what they do about it.


In addition to the hard limit on the number of fields you can also get this
if the total size of a row exceeds a certain number of bytes (forget how
many specifically).

Not much you can do about it except break the table up.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
Modest Marsupial wrote:
I keep getting a run-time error that 'too many fields are defined' (it
thinks there is more than 255, even when there is not). I looked this
problem up at
http://www.microsoft-accesssolutions...ds_defined.htm which
explained it somewhat, but their simple solution of compacting the database
does not help me avoid this error. Their other solution of normalizing the
database to the third normal form is not practical for me (the database
isn't my creation to begin with and I'm very short on time).

I am wondering if others get this error and what they do about it.

Thanks in advance, marie


Does it go away if you copy the table, delete the original and rename
the copy? This can be awful if you have many relationships on the table...

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #3
But the tables aren't too big (less than 100 rows). That's what's driving me
crazy. I can't see what is causing Access to think there's something bigger
than there is.

Thanks for the reply.
marie
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:32*************@individual.net...
"Modest Marsupial" <Ma*******@mbg.com> wrote in message
news:10*************@corp.supernews.com...
I keep getting a run-time error that 'too many fields are defined' (it
thinks there is more than 255, even when there is not). I looked this
problem up at
http://www.microsoft-accesssolutions...ds_defined.htm

which
explained it somewhat, but their simple solution of compacting the

database
does not help me avoid this error. Their other solution of normalizing

the
database to the third normal form is not practical for me (the database
isn't my creation to begin with and I'm very short on time).

I am wondering if others get this error and what they do about it.


In addition to the hard limit on the number of fields you can also get
this
if the total size of a row exceeds a certain number of bytes (forget how
many specifically).

Not much you can do about it except break the table up.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 13 '05 #4
Bas Cost Budde,

It's a recordset that I'm using (kind of as an array ...I'm a C programmer,
so these "recordsets" are new to me), not a table. Should this matter?

Thanks for the reply,
marie
"Bas Cost Budde" <b.*********@heuvelqop.nl> wrote in message
news:cp*********@news2.solcon.nl...
Modest Marsupial wrote:
I keep getting a run-time error that 'too many fields are defined' (it
thinks there is more than 255, even when there is not). I looked this
problem up at
http://www.microsoft-accesssolutions...ds_defined.htm
which explained it somewhat, but their simple solution of compacting the
database does not help me avoid this error. Their other solution of
normalizing the database to the third normal form is not practical for me
(the database isn't my creation to begin with and I'm very short on
time).

I am wondering if others get this error and what they do about it.

Thanks in advance, marie


Does it go away if you copy the table, delete the original and rename the
copy? This can be awful if you have many relationships on the table...

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea

Nov 13 '05 #5
"Modest Marsupial" <Ma*******@mbg.com> wrote in message
news:10*************@corp.supernews.com...
But the tables aren't too big (less than 100 rows). That's what's driving me
crazy. I can't see what is causing Access to think there's something bigger
than there is.


What I said is that there is a size (bytes) limit *per row*. The number of rows
is irrelevant.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #6
Modest Marsupial wrote:
Bas Cost Budde,

It's a recordset that I'm using (kind of as an array ...I'm a C programmer,
so these "recordsets" are new to me), not a table. Should this matter?


A recordset is an object; it enables data access. It has a source that
is either a table or some query returning records. Other database
systems call such an object a cursor, maybe that term runs associations
with you?

You can consider a recordset an array, to some extent. It will have an
item for every field in the record; it is close to two-dimensional in
the sense that you have more records in the recordset, but can address
only one at a time.

The Name property of the recordset will show you how it was created,
i.e. on a table, query (as saved object) or a SQL statement. You can
then inspect the structure of that source.

->Could a crosstab query yield too many fields?

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: NotGiven | last post by:
I have display error ON and error reporting to E_ALL. I have a form that opens fine. When you submit it, all the fields that have nothing in them, for example an un-selected radio button, throw...
2
by: shivprasad koirala | last post by:
hi all(happy raksha bandhan day) we have one of Automation software for sales running for a customer.He was cool for the first month of product, but later popped with adding some extra...
3
by: Lars Rune Nøstdal | last post by:
struct X { unsigned int a : 1; unsigned int b : 1; }; int main() { X* x = new X; x->a = 1; x->b = 1;
2
by: | last post by:
does anyone know what is the maximum number of fields that can be updated at once in access 2000 i am updating approx. 150 at once and keep getting this error: Microsoft JET Database Engine error...
0
by: Fercat | last post by:
Hi! I receive in an Outlook mail folder some custom forms that contain user defined fields (for example, Client Name, Contract Number...). The problem is that when I finish linking this folder...
112
by: Carsten Hansen | last post by:
Suppose I'm using an implementation where an int is 16 bits. In the program below, what function is called in the first case, and what is called in the second case? Also, if there is a difference...
10
by: Abhi | last post by:
In ANSI C, we can have a bit fields inside structure like struct _A { int i:2; }; would define a variable of 2-bit length. My doubt is that what would the size of this structure then? Would...
26
by: julien | last post by:
Hello, I don't know when to use fields and when to used properties. It looks to me that using properties is always better. But I guess fields must be better in some cases, otherwise they wouldn't...
12
by: M G Henry | last post by:
I have a tabbed form that contains 12 different "pages" and when I try and run the form I get the error message too many fields defined --- which I believe is the 255 field limit in the record...
14
by: Thurston Manson | last post by:
Suppose I'm using an implementation where an int is 16 bits. In the program below, what function is called in the first case, and what is called in the second case? Also, if there is a difference...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.