Results 1 to 6 of 6
  1. #1
    synses's Avatar
    synses is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2013
    Location
    Naples, FL, USA
    Posts
    24

    "Enter Parameter Value" when trying to open a table with look up field..?

    When I try to open a table I created that has a few look up fields in it, I get a message pop-up that says "Enter Parameter Value" Click image for larger version. 

Name:	Enter Parameter Value.png 
Views:	11 
Size:	5.0 KB 
ID:	27863


    What have I done wrong and how can I correct it?
    Thanks for any help you can offer,
    Synthia

  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Some would say the first thing you did wrong was create lookup fields in a table.
    Perhaps you no longer have that field in the table, but it remains in an Order By or Filter property?
    EDIT: or if the values are coming from another table, is that table and the field correctly referenced/named, and is the table linked and the link is still valid/working?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    synses's Avatar
    synses is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2013
    Location
    Naples, FL, USA
    Posts
    24
    Thanks for the ideas, I will double check the links and tables/fields that are linked.

    What would you suggest doing instead of using look up fields to auto populate/connect one field in one table to another table?

    I am new (ha! old new...) and want to learn to do it correctly.
    Thanks for any suggestions you have to offer,
    Synthia

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    if you are using the data structure I gave you in your other post, you don't need to create links to the foreign tables if you are looking at data entry. You only need the source table as a record source. When you go to a particular record if your data entry field is a combo box with a source of tblRole where the first column is the primary key and the second column is the role description, then all you have to do is suppress the first column (width of 0 (zero)) and you will correctly display the role description.

  5. #5
    synses's Avatar
    synses is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2013
    Location
    Naples, FL, USA
    Posts
    24
    Thanks, I assumed it was a look up function, and used the look up wizard, when connecting .say the people table to the role table, etc., I will study what you said here with the other message better. (tomorrow, start over, again, and STILL very grateful for the help!)

  6. #6
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Not familiar with the other post so not sure if this is helpful. If you need to control what a person can enter into a field, one way is through code, but a (perhaps) better way is to have lookup tables. For example, you create a table tblDepts and list every department in the scope of the database and perhaps a field to flag it as current or not (could be ObsoleteDate). This way if you add or rename a department, not only do you simply add a record to that table (or edit it), whereupon it automatically becomes available to cmbDept, but it doesn't require you to alter table design. As for populating tables using such controls, you should use forms. Here's why NOT to use lookup fields:

    http://access.mvps.org/access/lookupfields.htm
    Last edited by Micron; 03-14-2017 at 09:17 PM. Reason: spelin

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

Similar Threads

  1. Replies: 5
    Last Post: 05-06-2016, 11:43 AM
  2. Replies: 5
    Last Post: 06-24-2015, 11:46 AM
  3. Replies: 8
    Last Post: 07-15-2014, 05:56 PM
  4. Replies: 2
    Last Post: 04-19-2014, 02:42 AM
  5. Replies: 5
    Last Post: 02-07-2014, 11:57 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