Results 1 to 5 of 5
  1. #1
    Ganesh7299 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    9

    Add item "All" to listbox

    Dear Experts,



    I just started with access and seeking for the help on lot of problems, below is the one of them.

    Have created dynamic listbox, means list items are getting updated based on other listbox selection, to update listbox i have created query and linked the same with listbox row source.

    Now i would like to add list item called "All" on top in the item list, which is not exist in the query results.

    Any help highly appreciated . . .

    Thanks,
    Ganesh

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    Post the SQL of your list box. Probably, a UNION query may be able to achieve what you require.

  4. #4
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    Please ignore my earlier post. I think you need to use VBA to achieve what you require.( Changing the list box row source to value list and loading it at runtime)

  5. #5
    Ganesh7299 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    9
    UNION query works fine

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

Similar Threads

  1. Replies: 27
    Last Post: 12-17-2013, 08:44 AM
  2. oie.document.all.item("AHHHH").value = False
    By redbull in forum Programming
    Replies: 4
    Last Post: 12-13-2012, 01:54 PM
  3. Creating a "average" listbox
    By krouchchocolate in forum Access
    Replies: 1
    Last Post: 07-26-2012, 02:45 AM
  4. Replies: 16
    Last Post: 11-01-2011, 01:35 PM
  5. Using ListBox value as "Body of outlook task"
    By AccessFreak in forum Database Design
    Replies: 3
    Last Post: 05-07-2011, 04:40 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