Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query is repeated infinitely
Message
De
07/11/1996 16:05:36
 
 
À
07/11/1996 12:04:19
Marcelo Daniel
Martin Cubero S.A. de C.V.
Cuautla Mor., Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00011696
Message ID:
00011734
Vues:
34
>I have a drop-down list based on a query, calling requery method from the when event of the list and the query keeps repeating all time.
>If the code is paused by debug or if a wait command is placed at the wait event the query is just performed once as expected.
>I don't know if this is a problem with the form or with the data in the file. The same form runs well with a diferent instance of the data file.
>I think that if the problem were in the data, changes in the form wouldn't help (debugging and wait).
>
>I apreciate any help or suggestions
>
>TIA

Probably this is bug. But anyway it doesn't seem to me that When event is a good place for Requery. Would you like to consider Init event? If you have to refresh combo regarding to user operations you can add Requery method to other places (e.g. command buttons Click and so on). As far as I understand When event will fire any time you combo gets focus and this is waste of resources at least.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform