Results 1 to 3 of 3
  1. #1
    Cran29 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    38

    Table not record set


    I have just completed a simple Data Base with a sub form for entering records. When i try and enter Data it shows an error saying key in employee table not record set. How do i fix this please.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    You haven't told us much about your database and tables. If you have a subform, the implication is you have a Form and on that form you have a subform.
    In classic Access Form/SubForm, set up to deal with a 1 to Many relationship, the 1 side of the relationship is handled in the Form, and the Many side is handled by the SubForm.
    Code:
                    (1)         (Many)
    analogy is Parent--->Child

    If you are trying to add a new record in the subform, that is not part of the record on the Main form, Access will give an error.

    You can't have a Child record, until there is a Parent record

  3. #3
    Cran29 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    38
    Please find attached a copy of the Dat base. I cannot get it to save records using the Sub form. Can you see where i am going wrong baffled
    Attached Files Attached Files

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

Similar Threads

  1. Replies: 3
    Last Post: 02-06-2013, 07:23 PM
  2. Replies: 4
    Last Post: 08-14-2012, 07:14 AM
  3. Replies: 3
    Last Post: 08-09-2012, 01:49 PM
  4. Replies: 1
    Last Post: 04-24-2012, 02:36 PM
  5. Replies: 5
    Last Post: 03-01-2012, 12:59 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