Results 1 to 4 of 4
  1. #1
    yture is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    5

    creating this referential integrity give following error.

    in below database http://www.4shared.com/file/XbC2kv5A/Supplier.html in the product table,most of the records were added by importing Excell 2010 workbook whose link is below http://www.4shared.com/file/Yz3MEF1_/Goods.html when trying to enforce referential integrity between above two tables,i get the following error message. Microsoft Access can't create the relationship and enforce referential integrity. Data in the Table 'Product' violates Referential integrity Rules.For example,there may be records Relating to an employee in the related table but no record for the employee in the primary table. Edit the data so that records in the primary table exist for all related records.if you want to create the relationship without following the rules of referential integrity, . clear the enforce referential integrity Enforce checkbox. but i checked all records and they are related.plz tell someone where lies the error. its ok if you dont answwer.you are just my friends. Regards

  2. #2
    stmoong is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2011
    Location
    Singapore
    Posts
    108
    It means that the field you are trying to create the referential integrity has values that are not found in the master table. You need to create the records with the missing field values in the master table.

  3. #3
    yture is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    5
    by master table do you mean primary table.

  4. #4
    stmoong is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2011
    Location
    Singapore
    Posts
    108
    By master table, I mean the table that contains the master data that you refer to in your other table.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Referential Integrity
    By YunqHero in forum Forms
    Replies: 4
    Last Post: 12-17-2012, 05:05 PM
  2. referential integrity
    By askjacq in forum Database Design
    Replies: 1
    Last Post: 10-14-2011, 03:23 PM
  3. Referential Integrity
    By Desstro in forum Database Design
    Replies: 4
    Last Post: 06-13-2010, 01:29 PM
  4. Referential Integrity
    By U810190 in forum Access
    Replies: 1
    Last Post: 03-29-2010, 05:21 PM
  5. Referential Integrity
    By jbarrum in forum Access
    Replies: 5
    Last Post: 01-14-2010, 09:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums