Results 1 to 2 of 2
  1. #1
    boundfree is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2011
    Posts
    8

    How to get form to show values that cannot be edited?

    For example:

    I have a database in which I track crates.

    Depending on the item, the crate size is different.

    I want to make a form that will allow you to select the item, and then display the crate size, but I want it to be impossible to edit the crate size.

    How could I do this?



    boundfree

  2. #2
    dwmackay is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2011
    Posts
    2
    Sounds like you may want to use either a List Box or Combo Box. In either case, in the property settings, you can "Limit to List" which will prevent the user from entering invalid data.

    How you set that up kind of depends. If you have Item #1 that always uses Crate #7, you can simply create a table that matches the items and crates correctly. In that case, no list box is needed; just display the Crate size in an un-editable control chosen from the matching table.

    If you want the user to choose the Crate size based on the item, you may want to create a query that includes all of your crate sizes, but limits the list to acceptable sizes depending on the item in question. In that case, the Query would be the source for the List box or Combo Box. This presumes that somewhere along the way, you have defined which crates can be used with which items.

    Doug M

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

Similar Threads

  1. Lookup to show related values
    By mjhopler in forum Access
    Replies: 1
    Last Post: 08-19-2011, 01:35 PM
  2. Combobox to show two field values
    By lnordstrom in forum Forms
    Replies: 2
    Last Post: 03-30-2011, 12:33 PM
  3. How do you Show Totaling Values on a Form?
    By Access_Headaches in forum Forms
    Replies: 0
    Last Post: 08-31-2010, 09:38 AM
  4. Show absolute values
    By Fluvio in forum Access
    Replies: 4
    Last Post: 08-16-2010, 09:24 PM
  5. form not letting records be edited
    By stuart rose in forum Forms
    Replies: 3
    Last Post: 09-02-2009, 04:22 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