Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Location
    North Charleston, SC
    Posts
    20

    making specific fields non-editable

    Is is possible to make specific fields non-editable in a datasheet view on a form? I have a main form that displays registration info and a subform that allows the user to choose courses that is a datasheet view. The view has two columns, an ID and a course name. I set the ID field in the subform to a drop-down that includes name and description from my Courses table, so the course name column in the data view is simply for usability to see the list of courses to which the person has registered. Can I make that second column non-editable so that a user doesn't mess anything up?

  2. #2
    Join Date
    Dec 2007
    Location
    Ohio
    Posts
    11
    Locking the field should do what you want. You will need to open your data sheet subform in design view, select the field, properties, Locked = True. If your data sheet is not actually a subform but a table, you will need to make a datasheet form from your table and insert it as a subform on your main form. Remember, never let your users touch your underlying tables directly, thats giving them the keys to the house. Good Luck.

  3. #3
    Join Date
    May 2008
    Location
    North Charleston, SC
    Posts
    20
    It is a datasheet, and your suggestion worked beautifully. Thanks for the help!

  4. #4
    Join Date
    Aug 2008
    Posts
    1
    My question was somewhat related to this. I wanted a field to be uneditable. In design view I select the properties sheet and found a "Locked" and an "Enabled" yes/no selection.

    Both of these seemed to do the trick when no was selected. I was curious what is the difference between enabled and locked?

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

Similar Threads

  1. Query Out Specific Text
    By ysabella in forum Queries
    Replies: 1
    Last Post: 11-19-2015, 03:53 AM
  2. Making subforms editable
    By ashiers in forum Forms
    Replies: 7
    Last Post: 10-08-2008, 04:09 PM
  3. Making fields dissapear
    By rev_ollie in forum Access
    Replies: 0
    Last Post: 09-11-2008, 03:56 PM
  4. Automatic Data Entry on a Specific Date
    By alanbrai in forum Programming
    Replies: 2
    Last Post: 11-14-2007, 05:15 PM
  5. Qry that asks for specific employee name
    By oxicottin in forum Queries
    Replies: 0
    Last Post: 02-05-2007, 08:50 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