Populate Listbox

H

hannibal

I have a listbox in one of my forms that is bound to a rather large recordset out of a table.

My question is: is it possible to "prpopulate"the list box when the form is loaded/opened ? What I mean is that when I now use the vertical scroll bar of the listbox it still does not show all the records when I have the scrollbar button in its lowest possible position. When I release the scroll bar, the list box populates with some records, the scroll bar button jumps up some space, allowing me to scroll down again some records, and so on.


Put different: I want the vertical scroll bar to reflect "immediately" the size of the recordset, and the button of the scrollbar the correct relative position in the recordset.

I thought of enumerating through the recordset underlying the listbox, but it does not work for me.

Any kind soul that has a clue for me ?

regards


--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top