Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit on the # of records for ListBox?
Message
From
17/04/1998 14:19:56
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, United States
 
 
To
16/04/1998 16:37:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00092581
Message ID:
00092978
Views:
26
>Thanks for your help John, but the problem wasn't related to memory at all. I deleted the listbox controls (who were instanciated from my base listbox class), used the VFP listbox instead and it work very well now.
>
If your rowsourcetype for the list is alias, sql statement, field or query and your list contains 253 or more elements then there is a bug that will get you eventually with all versions of VFP5 up to and including Service Pack 3. See MS KB Document Q164252 for a brief and not very thorough discussion of this problem (including a suggested workaround). In short, if your listindex mod 256 = 253 when the list gets the focus your program will be hosed. In your case since your listbox has 573 records then list items 253 and 509 will trigger the bug.

Murray
Previous
Reply
Map
View

Click here to load this message in the networking platform