From: Ret on
I'm using Access 2007 and I want to transfer data from one table (an import)
to another table. Every time I try an append query I lose most of the
records. I've tried to format the records the same and now just about any
changes I make in either table I get the messege "Too many fields defined".
Help?!
--
Ret
From: Steve on
You can only have 255 fields max in a table.

Steve
santus(a)penn.com


"Ret" <Ret(a)discussions.microsoft.com> wrote in message
news:E804F278-3A2C-47F7-B878-5D16D16FF594(a)microsoft.com...
> I'm using Access 2007 and I want to transfer data from one table (an
> import)
> to another table. Every time I try an append query I lose most of the
> records. I've tried to format the records the same and now just about any
> changes I make in either table I get the messege "Too many fields
> defined".
> Help?!
> --
> Ret


From: John W. Vinson on
On Mon, 29 Mar 2010 13:13:01 -0700, Ret <Ret(a)discussions.microsoft.com> wrote:

>I'm using Access 2007 and I want to transfer data from one table (an import)
>to another table. Every time I try an append query I lose most of the
>records. I've tried to format the records the same and now just about any
>changes I make in either table I get the messege "Too many fields defined".
>Help?!

Correct the error in your query.

If you would like help doing so... please tell us how the query is set up;
open it in SQL view and post the SQL text here.

The "too many fields" suggests that you're repeatedly changing the *STRUCTURE*
(not the data) of the table. Each time you add or change a field, you use up
one of the 255 allowed field "slots". You can recover them by using Office
Button... Manage... Compact and Repair. If you actually have over 255 fields
(heck, over 25 fields) then you need to come to a screeching halt and redesign
your improperly normalized tables!

--

John W. Vinson [MVP]
From: Ret on
Thank you. I am no longer having problems with the "Too many fields
defined". Don't know what changed that. However, I have been unable to
transfer a yes/no field properly. Any suggestions?
--
Ret


"John W. Vinson" wrote:

> On Mon, 29 Mar 2010 13:13:01 -0700, Ret <Ret(a)discussions.microsoft.com> wrote:
>
> >I'm using Access 2007 and I want to transfer data from one table (an import)
> >to another table. Every time I try an append query I lose most of the
> >records. I've tried to format the records the same and now just about any
> >changes I make in either table I get the messege "Too many fields defined".
> >Help?!
>
> Correct the error in your query.
>
> If you would like help doing so... please tell us how the query is set up;
> open it in SQL view and post the SQL text here.
>
> The "too many fields" suggests that you're repeatedly changing the *STRUCTURE*
> (not the data) of the table. Each time you add or change a field, you use up
> one of the 255 allowed field "slots". You can recover them by using Office
> Button... Manage... Compact and Repair. If you actually have over 255 fields
> (heck, over 25 fields) then you need to come to a screeching halt and redesign
> your improperly normalized tables!
>
> --
>
> John W. Vinson [MVP]
> .
>
From: John W. Vinson on
On Mon, 29 Mar 2010 16:37:01 -0700, Ret <Ret(a)discussions.microsoft.com> wrote:

>Thank you. I am no longer having problems with the "Too many fields
>defined". Don't know what changed that.

You probably have "Compact on Close" checked in the database's properties, so
it compacted automatically for you.

>However, I have been unable to
>transfer a yes/no field properly. Any suggestions?

Since I have no idea what you're transfering from, transfering to, or how
you're doing the transfer, not really. All I can say is that an Access Yes/No
field is stored as -1 for Yes, 0 for No, other values (and NULL values)
prohibited.
--

John W. Vinson [MVP]