Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View Parameters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00179768
Message ID:
00180194
Vues:
31
>Tom,
>
>I have always doen it this way, whenever the requery is to be issued I create and populate the parameter as a LOCAL.
>
>
>LOCAL lcViewParm
>lcViewParm = Obj.Property
>Requery("TheView")
>
>
>This way there are no public vars floating around to get clobbered, the view is not bound to an object so it can be used independantly of the object's name, the code that requeries the view has the line that populates the parameter right before it so it is self documenting, the view can be used and tested outside of the application (no object dependency).

Jim,
What do you do for loading a form? If the dataenvironment is a view and I let the DE open and close tables, I can't get it to work w/o the view parm dialog poping up. If I put a public in beforetablesopen it works, a local fails.
-TomC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform