473,387 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ListBox Limit

Hello,

I am trying to use a list box based on a large query of records within an access form. The query contains 95,738 records, but the list box only lists 65,536.

Is there a default limit on the number of records shown in an access list box? If so, is there anyway to change this default to allow all the query records to be access via the list box?

Thanks.

Suzanne
Apr 24 '07 #1
10 15504
pks00
280 Expert 100+
That is a awful lot of records to display in a listbox and if anything isnt that user friendly (no offence meant !!!)

Have u thought of perhaps using a temp table? store the results of your query into this table then create a datasheet subform based on this temptable.
Apr 26 '07 #2
ADezii
8,834 Expert 8TB
Hello,

I am trying to use a list box based on a large query of records within an access form. The query contains 95,738 records, but the list box only lists 65,536.

Is there a default limit on the number of records shown in an access list box? If so, is there anyway to change this default to allow all the query records to be access via the list box?

Thanks.

Suzanne
To the best of my knowledge I know of no defined limit on List Boxes in Access, it probably also depends on the length of each entry and is not constant. I did, however, experiment with a much lower number of entries and got no where near 65,536 entries. Whatever the Default limit is, I'm pretty sure that it is not configurable.
Apr 26 '07 #3
Thank you for your thoughts. I am actually trying to mimic a program that is already in place with a new database that can be modified. I realize that I am trying to create a very large list box that will not be very efficient.
Apr 27 '07 #4
pks00
280 Expert 100+
Looks like you have hit a limit and there isnt much you can do except rethink your solution http://support.microsoft.com/kb/187342
Apr 28 '07 #5
sjbarber373
1 Bit
65,536?? If I remember right, that was the old Excel row limit, so I wouldn't be surprised if your listbox had that limit too. After all, whoever created the Listbox probably thought that would be plenty of room; just not in your case. Only guessing of course. . .
May 14 '21 #6
thank you for sharing with us, this is really good
May 15 '21 #7
NeoPa
32,556 Expert Mod 16PB
SJBarber:
65,536??
No. That isn't even the situation. Please re-read post #3 of this thread.

The simple truth of this matter is that the ListBox Control was never designed to handle amounts of data that would not be of practical use to anyone.

When it comes to handling data of that sort of size - or even of much less frankly - then a solution built on a Form would make much more sense.
Ashish:
thank you for sharing with us, this is really good
Really? I hate to seem argumentative but it doesn't even make any real sense, bearing in mind what was already shared in this thread over fourteen years ago - by someone who's shown they know what they're talking about and ran some tests to make sure.
May 18 '21 #8
isladogs
455 Expert Mod 256MB
Actually I've done some tests and also hit a listbox limit of 65536.
I loaded a dataset of 175684 records into a listbox and 'only' the first 65536 records were displayed.


Further tests indicated that the number of fields & the amount of data didn't seem to alter the limit. Perhaps that wasn't the case back in 2007 when @adezii ran his tests

I repeated the test with an even larger dataset of 2.6 million UK postcodes. Exactly the same result. Listbox limit = 65536



Having said that it is in my opinion a completely ridiculous method of viewing a lot of data. Use a subform instead. It is much more efficient
Attached Images
File Type: jpg Capture.jpg (238.9 KB, 827 views)
File Type: jpg Capture2.jpg (317.9 KB, 775 views)
May 18 '21 #9
SwissProgrammer
220 128KB
I remember being able to see past the first 65536.

I input over a 1,000,000 items and the listbox sorted them quickly and correctly.

I could scroll the listbox and see them all.

I could copy the entire list and save it to an rtf file.

I could copy selected items like from 65537 to 131072 and use them.

I was using VB6 sp5.
May 26 '21 #10
isladogs
455 Expert Mod 256MB
Hi @swissprogrammer
That may have been so in VB6 but the OP was specifically referring to a listbox in an Access form.
Having said that, the thread is 14 years old so the OP is highly unlikely to read any of the recent posts
May 26 '21 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: JohnH | last post by:
I have an ASP app (developed with Interdev 6) which uses a DTC listbox (server-side) bound to a recordset to allow the user to make a selection. This works fine until the number of records in the...
1
by: serge calderara | last post by:
Dear all, Is there a limit on the number of item of a listbox control ? regards serge
9
by: Megan | last post by:
Hi- I'm creating a database of music bands with their cds and songs. I'm trying to program an SQL statement so that I can enter a string of text in a textbox, press the 'Enter' key, and have...
3
by: deko | last post by:
Is there any way to limit the number of records loaded into a ListBox? I looked at qdf.MaxRecords (to apply to the query that is the RowSource of the ListBox) but that only applies to ODBC data...
2
by: George Durzi | last post by:
This is more of a design/philosophical question :) I have a page in which the user sets attributes for a project. There are 8 attributes, e.g. Project Type, Country, etc. The number of options...
3
by: Sori Schwimmer | last post by:
For a listbox, I would give a width and go with string formatting. In your case, I guess that what I'll do is to limit the width to something acceptable, and show only the tail of the line. ...
3
by: kaosyeti via AccessMonster.com | last post by:
hey... i have an unbound multiselect listbox on a form that i want to use to populate text boxes on that form. so if a user selects the 3rd item in a list of 20, how can i have that item show up...
1
by: Dennis | last post by:
I have a listbox that I fill with data from a stored proc. It's very basic - the proc returns two columns, one is used for the DataValueField of the listbox and the other is the DataTextField. The...
2
by: JWcode | last post by:
Hello, I am trying to figure out how to limit the amount of selections that can be made in a asp:ListBox to 5. Does any one have an idea of how to do that? I did this in classic asp before using...
2
by: troy_lee | last post by:
I have a form that screens the database. I build a dynamic WHERE clause into a string and apply it to the form's filter. I want to allow the user to save, say, five or 10 of their most-used...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.