Results 1 to 8 of 8
  1. #1
    nadergirl08 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    9

    Lookup Fields in Form

    Hello all!

    I have a lookup field in a payroll database table. It pulls up a payroll 'service code' from a different table. I made a form so that staff can enter their payroll data, (name, date, mileage, hours, etc) including entering the 'service code' from a dropdown box to designate what they were doing. I was asked to make a change so that there was both a 'service code' and a 'description of the service code' column in the drop down. I changed the lookup field at the table level, but how do I get the drop down on the form to reflect this change? When I couldn't immediately figure it out I tried to delete the textbox on the field and put a new one in its place in the hopes it would reflect the qualities of the new lookup field in the table but now I can't even figure out how to get it back to being a dropdown again. (I'll admit, I made this DB a few months ago, I don't work in Access often and I forget how I made the drop downs on the form work to begin with. I just don't want to have to delete all my forms (there are actually 3, one for each department) and spend my weekend creating new forms from scratch.)



    Please Help!

    Thanks.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you seen this link before? http://access.mvps.org/access/lookupfields.htm

  3. #3
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Thanks, RuralGuy. I know I am not the original poster - but I really enjoyed reading through that site.
    I especially got a chuckle out of the Ten Commandments on another page on the site.

    I looked at this post because I've never myself used a Lookup in a Table and when I've tried to help a couple of people on here with THEIR Lookup fields, I've had a time of trying to figure out how to work around them and why they were used in the first place.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Lookup controls on forms are just fine (like ComboBoxes) but Lookup Fields in tables simply end up confusing the *programmer*! If the OP responds it can all be fixed. I just wanted to start with the link.

  5. #5
    nadergirl08 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    9
    Thank you. I apologize for not following up sooner. I'm looking at the site right now.

  6. #6
    nadergirl08 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    9
    Huh. So apparently I am a sinner. I do so love drop downs with choices, though. What's a better option than lookups? I have only made it accessible to users through forms and reports. The users do self-proclaimed semi important stuff and therefore do not want to have to remember things, you know, or think, hence the change I was trying to make to begin with. What can I do to keep this simple for them?

  7. #7
    nadergirl08 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    New Jersey
    Posts
    9
    RuralGuy: Don't answer that last question. Thanks for all your help, I actually found my answer in your reply to someone else's thread. Combo box on the form, remove the lookup field in the table. Most excellent.

    Thank God this forum exists. <3

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Excellent! Glad you got it sorted.

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

Similar Threads

  1. Importing into Table with Lookup Fields
    By Fstrategic in forum Import/Export Data
    Replies: 7
    Last Post: 02-16-2012, 05:26 AM
  2. Multiple fields to the same Lookup Table
    By igooba in forum Database Design
    Replies: 9
    Last Post: 01-03-2012, 04:14 PM
  3. If LookUp Fields not recommended then?
    By cap.zadi in forum Forms
    Replies: 5
    Last Post: 12-14-2011, 10:55 AM
  4. Return all fields even if lookup is empty
    By skarden in forum Access
    Replies: 2
    Last Post: 05-11-2011, 10:44 AM
  5. Lookup Fields
    By mikel in forum Access
    Replies: 3
    Last Post: 03-03-2010, 07:56 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