A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Modifying table design breaks Append query



 
 
Thread Tools Display Modes
  #1  
Old June 15th, 2004, 02:49 PM
MKH
external usenet poster
 
Posts: n/a
Default Modifying table design breaks Append query

I have a table that I delete all records from/then append records to on a daily basis. I modified the table by adding another field. My Append query now rejects a little over half the records due to validation rules violations. I've set no new rules. The new field is not required and has no validation rules. When I delete the modified table and replace it with the backup (thank GOD I backed up before playing this game) the query appends all records with no errors. I played with modifying the table by deleting a field, (instead of adding a field to see if the problem was how I modified) and I recieved the same number of rejects. My query brings in several Autonumber PK's from different tables (as longs you can't have more that one Autonumber in the receiving table) I am wondering if my can-o-worms is due to the different PK's. I've also tried Compact/Repair to fix. Has anyone had problems similar to this and can you provide possible solutions please?

  #2  
Old June 15th, 2004, 03:05 PM
Jeff Boyce
external usenet poster
 
Posts: n/a
Default Modifying table design breaks Append query

You may have to "walk" through your append query, deleting one field at a
time and testing to find the "offending" field. Then, back to the table
definition to determine what about THAT field is leading to errors.

JOPO (just one person's opinion)

Jeff Boyce
Access MVP

  #3  
Old June 15th, 2004, 04:05 PM
MKH
external usenet poster
 
Posts: n/a
Default Modifying table design breaks Append query

FOUND IT!!! Thank you very much. One of the fields was a text field set to AllowZeroLength = No. Why this did not reject on the earlier table I do not know; but, setting AllowZeroLength = Yes (in Design view, Field Properties).
Thanks Jeff.


"Jeff Boyce" wrote:

You may have to "walk" through your append query, deleting one field at a
time and testing to find the "offending" field. Then, back to the table
definition to determine what about THAT field is leading to errors.

JOPO (just one person's opinion)

Jeff Boyce
Access MVP


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.