Results 1 to 4 of 4
  1. #1
    M.Qasim is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Dec 2018
    Posts
    2

    You cant go to the specific record.

    Hello,I am a newbie to MS Access, so please help me if someone can. I have three tables for which I created a form to fill in data. I inserted feilds from two tables, the add record button works fine but when I try to insert fields from third table it gives error. "You cant go to the specific record.". Now even if I remove the third table entry it still gives the error. Images are attached.

    Click image for larger version. 

Name:	Form.png 
Views:	14 
Size:	68.6 KB 
ID:	36505Button working fine with two tables fields inserted.

    Click image for larger version. 

Name:	Form 1.png 
Views:	14 
Size:	99.4 KB 
ID:	36506Added third table field.



    Click image for larger version. 

Name:	Form 2.png 
Views:	14 
Size:	76.7 KB 
ID:	36507Error.

    Click image for larger version. 

Name:	Form 3.png 
Views:	14 
Size:	62.1 KB 
ID:	36508Relationships of tables are one to one, (Enforce referential integrity and cascade delete records.)

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Can you add/edit a record directly in the form's source query? I'm guessing it became read-only:

    http://allenbrowne.com/ser-61.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    M.Qasim is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Dec 2018
    Posts
    2
    Edition is possible. I couldn't add, Adding was not in the third table, it was giving error like there must an corresponding entry in other table (There was actually an entry in other tables). Anyway I changed the relationship, i.e. removed referential integrity and cascade delete. Then I was able to edit/Add. But the problem is still there, the add button is still giving error.

  4. #4
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    The relationships look suspect in the 3rd image. Why a 1-to-1 relationship? (very unusual)

    You shouldn't be displaying the autonumber fields on a form.

    See Microsoft Access Tables: Primary Key Tips and Techniques

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

Similar Threads

  1. Replies: 8
    Last Post: 05-22-2018, 11:16 AM
  2. Replies: 3
    Last Post: 11-28-2016, 03:17 PM
  3. Replies: 4
    Last Post: 05-18-2016, 03:32 PM
  4. Replies: 2
    Last Post: 01-14-2015, 12:00 PM
  5. Replies: 12
    Last Post: 08-21-2012, 02:40 PM

Tags for this Thread

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