Results 1 to 2 of 2
  1. #1
    Access0307 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2011
    Posts
    1

    ListBox RowSource Update Not working in 2003

    I'm not sure if this is the correct place to post this, but I have a database that I created in Access 2003, that was working fine until a few of the users got Access 2007. I did not convert the database since the majority of users are still using 2003.

    Anyway there is one form where users select multiple combo boxes (each populated based on the previous combobox selection). Additionally, a list box populates based on the first combo box selection.

    For some reason the list box stopped populating for Access 2003 users. I'm using pretty generic code to update the listbox:



    strSQL = "queryinfohere"
    listbox.RowSource = strSQL

    I haven't changed anything in the code.

    Any ideas why this would suddenly stop working only for Access 2003 users?

    Thanks!

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    well, the only thing I notice that's missing here is the "listbox.requery" method. Are you aware, that without that, your listbox cannot get the secondary or third list that you're looking for? You have to requery it, sir.

    other than that, there is nothing wrong with the code that you're using. from what I see anyway...

    also...in terms of 03 and 07 versions, listbox code was not changed, at least not to the effect that that it would affect you in this scenario...

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

Similar Threads

  1. Update form when data collected from Listbox
    By Evetsllub in forum Forms
    Replies: 1
    Last Post: 06-10-2010, 05:33 PM
  2. Replies: 3
    Last Post: 04-14-2010, 10:00 AM
  3. Replies: 6
    Last Post: 03-27-2010, 11:18 AM
  4. Macros not working in 2003
    By SnowCker in forum Access
    Replies: 1
    Last Post: 01-21-2010, 03:20 PM
  5. Multi-select listbox and update flag in table
    By Suresh in forum Programming
    Replies: 0
    Last Post: 12-19-2007, 01:04 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