Results 1 to 6 of 6
  1. #1
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142

    How to unlock a Subform

    Hello,
    I have a subform bound to a table.
    The fields in the subforms are locked.
    How to unlock them?
    Allow Add/Edit/Delete are enabled.
    I am not sure what is the problem here.
    Can someone help me on this.

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    The individual controls have locked and enabled properties. Are they set appropriately?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    Yes.
    The Individual controls are not locked and enabled as yes.
    Quote Originally Posted by pbaldy View Post
    The individual controls have locked and enabled properties. Are they set appropriately?

  4. #4
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,784
    need more info about what is happening. Maybe there's a message in the system tray saying the recordset isn't updatable, as in it is of the type that cannot be edited.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Is the subform bound to a table directly, or a query that might be read-only?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Also...does the Subform Control (which holds the Form the Subform is based on) have Enabled set to Yes and Locked set to No?

    Is AllowEdits for the Main Form set to Yes? If the Main Form cannot be edited (for whatever reason) data on the Subform Control cannot be added/edited.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Replies: 10
    Last Post: 08-08-2018, 02:09 AM
  2. lock and unlock buttons
    By ShaunG in forum Programming
    Replies: 2
    Last Post: 01-24-2018, 02:46 AM
  3. Unlock Access VBA
    By jhargram in forum Access
    Replies: 0
    Last Post: 03-01-2012, 05:06 AM
  4. external accdb won't unlock
    By taxidev in forum Programming
    Replies: 4
    Last Post: 06-07-2011, 11:53 AM
  5. Replies: 0
    Last Post: 07-10-2010, 08:11 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