Results 1 to 4 of 4
  1. #1
    jrmbach is offline Novice
    Windows 2K Access 2000
    Join Date
    Aug 2013
    Posts
    8

    Lookup Table Sort Sequence


    I have a Table for Expenses. One of the fields “Vendor” is a Lookup Table. The Vendor Table has an AutoNumber field “Vendor ID” as the Primary Key. It also has fields for Vendor Name, Address, etc. I used the Lookup Wizard to create the relationship. I have sorted the Vendor Table by Vendor Name. When I use the Vendor field on Expenses Form, the Vendors are not listed by Vendor Name; they appear to be listed by Vendor ID. How can I get the Vendor Lookup list in order by Vendor Name?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    You have Lookups set in table? Advise against that, review http://access.mvps.org/access/lookupfields.htm

    You mean you want to sort the expense records by vendor name? To sort by vendor name, must include Vendor table in query, join type "Include all records from Expenses and only those from Vendors that match"
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jrmbach is offline Novice
    Windows 2K Access 2000
    Join Date
    Aug 2013
    Posts
    8
    How do I put a Lookup Table field in my Form if I should not put it in the Table for that Form?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I just build combobox or listbox from scratch. I don't use wizards.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Form sort Sequence
    By jrmbach in forum Forms
    Replies: 1
    Last Post: 05-26-2014, 02:33 PM
  2. Replies: 3
    Last Post: 10-16-2012, 10:34 AM
  3. Replies: 3
    Last Post: 04-27-2012, 10:21 AM
  4. Table lookup, sort of
    By avarusbrightfyre in forum Programming
    Replies: 1
    Last Post: 08-30-2011, 02:20 PM
  5. Replies: 5
    Last Post: 04-28-2011, 05:10 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