Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sluggish behaviour of Combo with 6000 records
Message
From
08/07/1999 22:18:53
 
 
To
07/07/1999 16:39:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00238518
Message ID:
00239234
Views:
9
>ON a P-166 Mhz , 32 Mb Ram , a combo whose rowsource file has 6000 records , takes 30 seconds to reach the records with letter 'S'.
>
>Could somebody help in optimising speed. Does VFP work so slow with just 6000 records (4 MB File)
>
>Thanks
>
>Pankaj




Don't use Combox, Listbox if your record are OVER 200!!

If you using VFP 5, there is a known bug on every 255 record,
it gives Error Number 10 and quit application at once even you have an
error handler to capture the error....
Afterwards, you will find the database has ERASE one RECORD KEY
to EMPTY STRING.. but other data exist....

For me, I have a ITEM table with 11K data, using PII 200 and 64M RAM...
it need 100 seconds to wait for ADDing record Finish show BLANK INput screen!!

After I remove the Combox, it need Less than 1 second for refreshment...




Now, there will some good control class for search record in file sections.

incrsh - textbox baseclass with setting the Insert mode to Overwrite when focus

Another class are similar - textbox with highlight the nearest match from current selstart to end!

Ingrid - textbox in GRID which search record when keyin, header show what has key-in!

Since combox is poor in your cases, don't use AutoCOmbox...

^_~ Good Luck!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform