Results 1 to 13 of 13
  1. #1
    Shelley is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Location
    Massachusetts
    Posts
    9

    Question Lookup

    When using a List Box in the Table Design Mode, what does each item in the Lookup Properties refer to and what it will cause to happen when changed?

    For example:

    My Table has the following data:

    Bends Setup Time Needed
    Per Bend

    Cover Bend 10
    Accessory Bend 5

    I would like to have each Type of Bend be able to automatically fill in the mandatory Setup Time Needed Per Bend. I am thinking that if I do this in the Table; then it should also carry over into my Queries and Reports too according to what I've heard and read.

    I don't quite know how to tell Access to do this and I don't know what each of the Properties in the Lookup tab at the bottom refers to and no one ever really discusses them in the tutorials.

    I also want to make sure that I have these Properties for Lookup set correctly for any of my other List Boxes too.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Here's something you need to read: http://access.mvps.org/access/lookupfields.htm

  3. #3
    Shelley is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Location
    Massachusetts
    Posts
    9
    According to all of the online videos and instructors, so long as I'm not using a primary key in my Lookup Table, then this is supposedly the most accurate way of doing this.

    If you don't agree with this method, then would you please explain to me what the appropriate way of doing it is?

    Many thanks for your assistance regarding this matter.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Does your first post indicate there are 15 types of bends?

  5. #5
    Shelley is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Location
    Massachusetts
    Posts
    9
    No, there are probably only 5 or 10 different types of bends. The 10 or 5 are referring to how many minutes it takes the operator to perform each one.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    The Lookup Table should probably be:
    BendID : AutoNumber - Primary Key to table
    BendDesc : Text
    SetupTime : Currency - So you can use decimals but not floating point number
    Last edited by RuralGuy; 10-07-2016 at 01:51 PM. Reason: Removed the BendType

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    You can then use the power of the Join to include the setup time in queries and reports. No Lookup Fields involved. I am curious to know what videos and on-lone instruction you have been reviewing.

  8. #8
    Shelley is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Location
    Massachusetts
    Posts
    9
    But wouldn't that interfere with queries and reports that would be run against it?
    Especially since it is not actually a monetary value.
    I will need to have a few different bends for the supervisors to pick from when entering their data too.

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Nope, if you are referring to the Currency datatype. Displaying the "$" is just a formatting option for display and not necessary although it is the default for that datatype. A Currency field is just a special type of integer field that can take a decimal.

  10. #10
    Shelley is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Location
    Massachusetts
    Posts
    9

  11. #11
    Shelley is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Location
    Massachusetts
    Posts
    9
    The Table Bends will later be used to create Queries, Reports and Forms too. The Forms will be using expressions with this data to provide other information too.

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Not a problem. With Joins you can treat more than one table as if it were one. It's magic!

  13. #13
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    If I haven't mentioned it yet, Lookups (Combo Boxes) on forms are just fine! It is only when they are at the table level there are issues.

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

Similar Threads

  1. Replies: 4
    Last Post: 03-17-2016, 07:16 AM
  2. Lookup values not appearing in Lookup field?
    By dominover in forum Access
    Replies: 4
    Last Post: 03-05-2016, 05:01 PM
  3. Replies: 4
    Last Post: 07-28-2015, 10:14 AM
  4. Replies: 3
    Last Post: 05-08-2015, 11:08 AM
  5. Replies: 5
    Last Post: 11-24-2014, 02:19 PM

Tags for this Thread

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