Results 1 to 6 of 6
  1. #1
    rmttbone is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    4

    Form properties reverting after I save, exit, and reopen

    Hello,

    I am using MS Access 2010, Windows 7 64 bit.

    I created a form and set the following properties under the data tab to yes; Data Entry, Allow Additions, Allow Deletions, Allow Edits.

    I created two unbounded text fields to allow the user to input dates or use a date selector to chose a date.

    When I close the database and reopen it, I cannot place my cursor in either field, and I check the above properties in layout view, and it shows that all the values were changed to no. If I open in design view the properties show yes. After I open in Form view, I can place my cursor inside the two field and use the date selector or type values.

    When I close the data and reopen it, the above happens.



    I have other forms and this does not occur.

    Is there something I can do or is there a setting I can use that will correct this issue?

    Thanks in advance Randy

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Is there code in the form?
    in the form properties check all EVENTS to see if there is code there to reset it.

    -signed
    Randy

  3. #3
    rmttbone is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    4
    ranman256, No code in events.

  4. #4
    rmttbone is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    4
    I just found that when I change the name of the form object, it does not lock? Any thoughts on why this is happening?

  5. #5
    rmttbone is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    4
    I resolved the issue. I found DoCmd code in another form that set this form to read only when you opened it with the a command button.

    Thanks

  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
    BTW, setting Allow Additions, Allow Deletions and Allow Edits to Yes would make one think that you plan on using this Form to view/edit/delete existing Records, as well as New Records. If this is a correct assumption, you need to change the Data Entry Property to No. When set to Yes, this property only allows the entry of New Records...old/existing Records cannot be displayed!

    Common sense would dictate that a property named Data Entry would have to be set to Yes, in order enter data! But this isn't true! Assuming that you have an updatable Recordset, you can enter New Records and edit existing Records as long as Allow Additions, Allow Deletions and Allow Edits are set to Yes.

    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: 1
    Last Post: 01-09-2015, 12:09 PM
  2. Replies: 4
    Last Post: 09-16-2013, 05:55 AM
  3. Replies: 2
    Last Post: 12-20-2012, 03:06 PM
  4. If no matches Reopen form after Msgbox
    By LoveLearning in forum Access
    Replies: 2
    Last Post: 07-18-2012, 06:08 PM
  5. Replies: 7
    Last Post: 11-23-2011, 08:14 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