Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Code works only with Set Step On
I have a grid I want to sort by clicking the header. I placed the code for sorting in the Click event of the header. But when I run the form and click the header nothing happens.
If I put Set Step On or a browse command before the ThisForm.Refresh, the sort works perfectly. If I go back and remove the Set Step On or Browse, it doesn't work anymore.
Any idea what is happenning and how I can work around it?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement