Listboxs don't work with large numbers like that. You need to display the choices in a browse.
PF
>I am running into an "insufficient memory" error in Foxpro 2.6 for Windows when I bring up a popup box with 1700 records in it. If I copy the records to an array and then display the listbox from the array (instead of the table itself), I still get the insufficient memory error.
>I also tried changing the MEMLIMIT parameter in CONFIG.FPW to memlimit=40,2048,4098, but to no avail.
>
>Are there any other workarounds to this problem, or will I need to split the table?
>
>Thanks
>
>Steve Baum
>MicroSystems
(On an infant's shirt): Already smarter than Bush