Results 1 to 3 of 3
  1. #1
    tgall is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2015
    Location
    na
    Posts
    38

    Disabling "Click to Add"

    Direct Route: How do I disable "Click to Add" in the tables?

    Scenic Route: I built a database application that has several tables I call "dropdown tables". Their contents
    provide the selections for many fields. I also built a Menu form with a block of buttons allowing the users to
    view the "dropdown tables". Via VBA, the tables are acReadOnly to prevent users from modifying the
    selections. During EUT (end-user testing), wouldn't you know, one of my testers validated he could not
    modify the existing data, but he had a ball clicking the Click to Add function. He couldn't enter data, but
    he added a lot of junk fields to the table.

    I would like to add code to the VBA preventing Click to Add when an end-user is viewing the table. I want
    the feature available when the Database Administrator needs to add a field.

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Users should NEVER (IMO) be allowed access to tables. Data-entry is/should be through forms.

    If I understand correctly, try:

    Go to FILE/OPTIONS/Current Database.
    Uncheck the option "Enable design changes for tables in Datasheet View"


    I also always uncheck "Enable Layout View" and select "Overlapping windows".



    I want the feature available when the Database Administrator needs to add a field.
    I would suggest that a field should be added to a table in design view, not clicking on the "add field" column in a table.

  3. #3
    tgall is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2015
    Location
    na
    Posts
    38
    Steve, love it when the solution is simple (ie, not 300 lines of code). Many thanks!

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

Similar Threads

  1. Replies: 6
    Last Post: 11-21-2015, 09:52 AM
  2. Replies: 1
    Last Post: 09-07-2015, 08:00 AM
  3. Replies: 9
    Last Post: 09-25-2014, 11:34 AM
  4. saves data with out click "Save" button in forms
    By terrythomasvda in forum Forms
    Replies: 4
    Last Post: 01-14-2013, 01:31 PM
  5. Using "On Click" or "On Dbl Click" in a Switchboard
    By James Parker in forum Access
    Replies: 2
    Last Post: 01-12-2012, 11:00 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