Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find combo too slow
Message
De
13/09/1999 13:30:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00264033
Message ID:
00264094
Vues:
24
>Try using a grid instead. You can download ingrid File#9172 to add incremental searching.
>
>>I presently have a form that maintains informtion about homes. I use a button to do a "fast" find of a home. That button calls a small form with a combobox on it to list the homes by last name + first name. I found that when I populated the home file with a few hundred homes the "fast" part of find went away. The find form takes several seconds to load the combobox before it appears. I seem to be suffering from a lack of imagination here and would like some suggestions to improve performance.
>>
>>I tried setting the combo box's RowSource to Home.Last_First with Home.Order set to Last_First in the dataenvironment.
>>
>>Then I tried an SQL along the lines of:
>>SELECT ALLTRIM(Home.Last) + ", " + ALLTRIM(Home.First) AS LastFirst ...
>>in the form.init
>>
>>Both failed to improve performance
>>
>>
>>Thanks in advance
>>Terry


Thanks
As I thought - a failure of imaginagion.
And as of now I too agree ComboBox = less than 100 items.

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform