Results 1 to 3 of 3
  1. #1
    gunitinug is offline Novice
    Windows 10 Access 2007
    Join Date
    Aug 2017
    Posts
    23

    how to suppress this warning?


  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Don't set a relationship between tables that enforces referential integrity. But if you do that then you will probably end up with bad data that will give you headaches later.

    You have a table named 'table name'?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    You have a dependency between tables and you are trying to add a record to the dependent table and there is no "related" record in the parent table.

    For example: Consider
    You have 2 tables Parents and children

    You are trying to add a record in the children table and there is no record for this child's parent in the Parents table.

    Unlike June7, I often set up tables and relationships to enforce referential integrity ( a feature of relational databases) to prevent situations that you are having.

    Bottom line here with your set up, you must have a parent before you can have a child record for this parent.

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

Similar Threads

  1. Suppress zero lines in Report
    By Fyeung in forum Reports
    Replies: 2
    Last Post: 02-18-2015, 01:07 AM
  2. Suppress Zero Rows? Sum columns?
    By Maxwell in forum Queries
    Replies: 8
    Last Post: 07-24-2014, 12:25 PM
  3. Suppress Last Page
    By RayMilhon in forum Reports
    Replies: 2
    Last Post: 03-16-2012, 10:08 AM
  4. Suppress warning save changes to layout of table
    By bbrazeau in forum Programming
    Replies: 7
    Last Post: 02-13-2012, 01:57 PM
  5. suppress subtotals when only 1 record
    By schristy in forum Reports
    Replies: 3
    Last Post: 02-15-2010, 10:00 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