Results 1 to 2 of 2
  1. #1
    pskaalen is offline Novice
    Windows XP Access 2003
    Join Date
    May 2010
    Posts
    2

    Access 2003 Dropdown slow to load


    I have a table containing 10,000 records. I have a combo box listing them. Within the box control, I have a SQL string typed into the Record Source. It all works. But the problem is that when I open the combo box and drag the slider bar to the bottom to see the last record, it takes several seconds as the combo box appear to be reading or loading all the records. However, if I click to open the combo box and then click ctrl-End, the box immediately jumps to the last record without delay. I want my users to be able to drag the slider bar up and down to see all the records quickly. One way might be to see if I can insert code so that as soon as the combo box was clicked on the screen, the code would trigger a ctrl-End and then a ctrl-Home to bring the box back to the first top record. That would make the box fully loaded with records so the user could navigate using the slider bar quickly without any delays. But this would not be a very elegant solution and the user would see the box jumping to the last record and then to the first. But if no one has a better idea, I would welcome how that technique could be accomplished.

  2. #2
    pskaalen is offline Novice
    Windows XP Access 2003
    Join Date
    May 2010
    Posts
    2

    Figured it out

    I found that by simply adding the following code to the GotFocus event, it works fine.

    Private Sub Combo-name_GotFocus()
    Dim lngCount As Long
    lngCount = Combo-name.ListCount
    End Sub

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

Similar Threads

  1. Load images in access using iif function?
    By sureshfina in forum Forms
    Replies: 1
    Last Post: 12-22-2009, 11:05 AM
  2. How to make a Column in Access a DropDown
    By JohnGrove in forum Access
    Replies: 4
    Last Post: 03-10-2009, 07:56 AM
  3. Slow Access 2007 Project
    By pbyrum in forum Access
    Replies: 0
    Last Post: 10-23-2008, 05:43 PM
  4. very slow when connect to access 2000
    By pureland in forum Access
    Replies: 0
    Last Post: 10-23-2007, 05:42 AM
  5. Slow Access Loading time
    By alexstoker in forum Access
    Replies: 3
    Last Post: 02-05-2006, 08:55 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