Results 1 to 5 of 5
  1. #1
    tylerg11 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    200

    Editing Subform Data


    I am trying to edit the fields in a subform, but it is not working. I checked all the property settings, and found out that the fields I want to edit were locked. I unlocked them, and verified the other properties. I still can't edit the subform values. I can edit the values in the table, and the query...no problems there. I just can't do it in the subform! If I edit the values in the source query, I can view the changes in the subform, but can't actually make the changes from the subform.

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    1. Is the main form's Allow Edits property set to YES?
    2. Is the subform's Allow Edits property set to YES?
    3. Are the master/child links set up properly?

  3. #3
    tylerg11 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    200
    Yes, that is all correct. The master/child links are correct. I have a dropdown box where the companycode can be selected. This populates the subform with contact details. So the companycode field is the connector field.

  4. #4
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Quote Originally Posted by tylerg11 View Post
    Yes, that is all correct. The master/child links are correct. I have a dropdown box where the companycode can be selected. This populates the subform with contact details. So the companycode field is the connector field.
    Please clarify - you have combo box on the main form. You select a companycode. So, what does it do then? Are you saying that you have code to populate the subform with details for that company? If so, you shouldn't be storing the company details again so we should also address that when we can. Or do you have a control source for the controls which DISPLAYS, but not saves, the company information by usng something like
    =[Form]![FormNameHere]![ComboName].[Column](1)

  5. #5
    tylerg11 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    200
    Thanks for the help. I just got it figured out. The fields weren't locked, but the subform was. By using the form selector, I couldn't see that property. Once I selected the subform with the orange frame, I did. That solved it. Just a quirky little Access thing.

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

Similar Threads

  1. Replies: 1
    Last Post: 11-29-2011, 07:43 AM
  2. Editing in a subform within a report
    By Malachi Constant in forum Programming
    Replies: 9
    Last Post: 10-28-2011, 06:50 AM
  3. Replies: 7
    Last Post: 07-15-2011, 01:58 PM
  4. Form for editing data
    By parad1se in forum Forms
    Replies: 1
    Last Post: 01-23-2011, 10:36 AM
  5. Editing Multiple Rows of Data with (Ctrl F)
    By Orangeworker in forum Access
    Replies: 2
    Last Post: 11-11-2010, 03:31 PM

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