several questions RE tables

  • Thread starter Thread starter Ret
  • Start date Start date
R

Ret

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?!
 
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!
 
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?
 
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.
 
Why? As in "why are you moving data around between tables?" That sounds
like something you'd do if you were using a spreadsheet... but Access is not
a "spreadsheet on steroids"!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 
Back
Top