Results 1 to 3 of 3
  1. #1
    Anna987 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    9

    When insert relation in to query can not add record

    When i make a query and i have following relation, then i can not add new record.


    My 'article' has a field 'primairy group', a field 'secondery group' and a description name...
    All Id's are the type autonumber.
    Field primairy group in the table is type long integer (same as autonumber)
    Field secondary group in the table is also type long integer (same as autonumber)
    I make a query with 3 tables :

    witch concludes in the next recordset :


    As you can see, you can't add records or edit records anymore.
    What i have seen is when i remove the line between the to tables 'subgroepen (field ID)' and 'onderdelen (field Subgroep)' in the relationship the problem is solved.
    But I need all of these relation.
    Is ther someway an other solution?
    What am i doing wrong.
    Thanks in advance.



    Anna

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    In simple, plain English describe to us (as you would tell a child) what are you trying to do. Plain English, no database jargon.
    Relationships are based on business facts.

    I see you have (parts and subgroups based on google translate), but what are these.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Review https://www.codeproject.com/articles...atabase-design

    Advise not to work directly with tables for data entry/edit, use form/subform arrangements. One table to one form.
    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.

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

Similar Threads

  1. query with relation in tables problem
    By JeroenMioch in forum Access
    Replies: 4
    Last Post: 04-01-2016, 03:06 AM
  2. Replies: 3
    Last Post: 05-27-2015, 01:04 PM
  3. INSERT query: insert new data only
    By drh in forum Access
    Replies: 2
    Last Post: 04-04-2014, 05:31 PM
  4. Replies: 7
    Last Post: 12-15-2010, 09:46 AM
  5. Report based on query + sub-report (1:N relation)
    By BayerMeister in forum Reports
    Replies: 1
    Last Post: 08-19-2010, 03:26 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