Results 1 to 3 of 3
  1. #1
    allykid is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    22

    Listbox Help


    I can't get a listbox to populate... I have attached a sample of my work.

    Relativley new to VBA and SQL so please be brutal.

    Thanks.

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

  3. #3
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You had some spelling errors in your code relative to your field names, you had EntitlementsID, there is no "s" in the field name. Also, the EntitlementName field has a space so it should be [Entitlement Name]. Additionally, the subquery should be enclosed within parentheses.

    Also, for the 2 list boxes, you did not have the row source type defined as table/query.

    The corrected DB is attached.

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

Similar Threads

  1. Form ListBox Know-how
    By InThrees in forum Forms
    Replies: 5
    Last Post: 12-03-2010, 01:02 PM
  2. INSERT INTO with listbox
    By TheShabz in forum Programming
    Replies: 6
    Last Post: 11-30-2010, 12:19 PM
  3. Replies: 3
    Last Post: 04-14-2010, 10:00 AM
  4. Listbox question
    By uaguy3005 in forum Access
    Replies: 1
    Last Post: 03-05-2010, 08:35 AM
  5. Columns in a Listbox
    By craigalaniz in forum Access
    Replies: 3
    Last Post: 01-07-2010, 01:11 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