You need to use a set of cascaded Comboboxes or similar.
See The Access Web article:
http://www.mvps.org/access/forms/frm0028.htm
and Allen Browne's:
http://www.allenbrowne.com/ser-32.htm
--
HTH
Van T. Dinh
MVP (Access)
"jdj" <j...@discussions.microsoft.com> wrote in message
news:C86CFE8C-41FC-4FFF...@microsoft.com...
> I want to pick from a list of 150.000 records in a combo-box in Access
2003,
> but it only shows records from 'a' to 'k' (sorted alphabetically) - is
there
> a maximum limit on how many records can be used in a combobox? And if so,
is
> there a workaround?
As Van mentioned 64K rows. A very fast work around is also using a search
form as in:
http://www.datastrat.com/Download/Search2K.zip
or:
http://www.datastrat.com/Download/ExpandingSearch2K.zip
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
I keep reading this but I have at least two clients that have well under 64k
*rows* and they stop seeing beyond about the "T"s in their combo boxes.
The informations is still there but the autofill stops.
E.G.
I type in "J" and get the first "J", JO gets the first JO etc, exactly as
expected.
I type in T nothing happens. You can type in "Thomas Mike" and get the first
"Thomas Mike" in the list but you can't see the second or third one.
This has been consistant for about ten years and only by geting the list
down to less than 10 k or so can the problem be solved.
I think there is a 64k buffer involved and it is not based on records.
>
> You need to use a set of cascaded Comboboxes or similar.
>
> See The Access Web article:
>
> http://www.mvps.org/access/forms/frm0028.htm
>
> and Allen Browne's:
>
> http://www.allenbrowne.com/ser-32.htm
>
>
Combo and list box controls
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacbk02/html/ODC_CookbookChapter8.asp
I haven't checked out Arvin's sample, so perhaps it is the same or similar....
Tom
_________________________________
"Van T. Dinh" wrote:
The list is limited to 64K rows.
You need to use a set of cascaded Comboboxes or similar.
See The Access Web article:
http://www.mvps.org/access/forms/frm0028.htm
and Allen Browne's:
http://www.allenbrowne.com/ser-32.htm
--
HTH
Van T. Dinh
MVP (Access)
___________________________________
I tested in A2K2 by populating a ComboBox RowSource with Records from
100000-record Table and the row number stopped exactly at 65536, i.e. 64K
rows.
It may take a bit of time to populate the RowSource. Try using the
following code in the Form_Load Event to fully populate the RowSource
Dim lngTemp As Long ' Only used for populating
lngTemp = Me.ComboBox.ListCount
After that, check the ComboBox and see if you can pick up 64K rows.
--
HTH
Van T. Dinh
MVP (Access)
"Mike Painter" <mddotp...@sbcglobal.net> wrote in message
news:pJwde.455$X21...@newssvr21.news.prodigy.com...
Create the source so that it shows a reasonable amount of information in the
view.
Last Name, First name, Phone number etc. Sort by last name. (Mine arrives in
a last name first name format.)
Tap the letter "D" and the combo will behave as expected.
Tap the letter "T" and I suspect you will find that only that letter appears
in the box.
The record is there and if there is only one "Thomas Mike" then entering
"Thomas Mi" will get that record.
There is no way to get the second "Thomas Mike" on the list. It does not
autofill as it does in the lower letters, nor do the records display in the
combo.
The client is currently using A2K or higher.
--
HTH
Van T. Dinh
MVP (Access)
"Mike Painter" <mddotp...@sbcglobal.net> wrote in message
news:rFaee.1094$X21...@newssvr21.news.prodigy.com...
just bookmarking this thread for later reference.
However, really, if you have respect for your users, then any combo box with
more then a few 100 entries is going to be torture.
So, the limit of 64,000 is so far beyond what a reasonably user can
tolerate, that it is really is not much of a limit anyway.....
when lists start to get that large, then you likey need to build some type
of form to seach. I give some ideas here:
http://www.members.shaw.ca/AlbertKallal/Search/index.html
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOO...@msn.com
I recommend bookmarking it using Google Advanced Groups, to find the
message. Here is a link to the search form:
and here is a link to this thread that is the better choice for bookmarking:
The reason I say this is that threads on server news.microsoft.com tend to
"age off" after some period of time. The fact that this thread was marked as
an answer by the OP (Original Poster) means that it will not age off as
quickly. For anyone else reading this, the only way to see that a reply was
marked as an answer is to use the MS Web Portal to view the message:
If you are viewing this message with any other newsreader (Outlook Express,
Thunderbird, etc.), then you will not see the "marked answer" status that I
mentioned.
Tom Wickerath
Microsoft Access MVP
http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________