Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Long shot:
    Is the field "AbsentHoursID" included in the query? I've had problems adding records to tables if the table PK field is not included in the form record source. I will add a control for the PK field, but make the control hidden on the form. (and I set the bkground to yellow to indicate that the control is hidden)

  2. #17
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,122
    Could you please show the SQL statement for the query? What SQL Server driver are you using in your connection? Have you tried to add the primary key to the query?

    Cheers,
    Vlad
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #18
    yong_sa is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2020
    Posts
    9
    Quote Originally Posted by Gicu View Post
    Could you please show the SQL statement for the query? What SQL Server driver are you using in your connection? Have you tried to add the primary key to the query?

    Cheers,
    Vlad

    Long shot:
    Is the field "AbsentHoursID" included in the query? I've had problems adding records to tables if the table PK field is not included in the form record source. I will add a control for the PK field, but make the control hidden on the form. (and I set the bkground to yellow to indicate that the control is hidden)
    HTH
    -----
    Steve

    It was this! The AbsentHoursID was not included in the query, preventing the resulting query table from allowing edits and additions.

    Thank you so much everyone! It was the last issue that we needed to fix!

    Now to recreate this for the cutover to the prod environment at the end of the month!

    Have a wonderful holiday and thank you for the help.

  4. #19
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,122
    Glad to hear you're off to the races, in post # 7 I suggested that but was not yet sure it was the issue....

    Merry Christmas!
    Vlad
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 09-20-2017, 08:41 AM
  2. Replies: 3
    Last Post: 05-14-2014, 01:30 PM
  3. Replies: 3
    Last Post: 01-02-2014, 08:11 AM
  4. Replies: 2
    Last Post: 03-24-2012, 01:29 AM
  5. Replies: 0
    Last Post: 12-01-2011, 10:23 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