Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CodeMine Toolbar Requery button
Message
De
16/09/2002 19:55:27
 
 
À
16/09/2002 19:36:09
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00701003
Message ID:
00701045
Vues:
16
John:

>I don't understand. Why not just issue a thisform.requery('viewname') and if required a refresh() for the display control.

You are correct. When trying to answer the question, I took a very quick look in the form's requery parent code and didn't notice the fact that it makes provision to handle the requerying of a specified view without a value in cRequeryDialogClass. I just saw what I wanted to (which was the creation of a localised requery dialog) and thought, we don't want that to happen :(

However, this element is not the hub of the issue. Mel wanted to activate the Requery button which is disabled by the default form.IsEnabled code where no value is present in cRequeryDialogClass. The subsequent requery of the view can be handled via the form's requery method (as you have suggested), the datamanger or directly to the cursor object in the CDE.

You can see how often I use the form based requery method !

Best
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform