Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When to use a formset?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00252480
Message ID:
00252551
Vues:
10
>I am creating an app that uses 5 screens (forms). Typically
>in the past I would create individual forms and call them
>with "do form xxxxxxx". I am now wondering if a formset is
>a better way to work. Then I would change the "visible"
>property as I need a certain form displayed. The reason
>I don't think I like the "do form" method is that it
>seems that the data environment has to be set up for each
>form. With a formset I could do that once. I'm no expert
>so I would like some input.

Formsets are kind of passe now, and theere is little reason to use them any longer (though I still have an older app with some, I've been removing them as time permits). The way I avoid formsets but get around the common DE problem is simple - I almost never use DEs for data common to many forms. Some ways to manage common data is either in an app object, or use a top-level to do it, that's the way I always do it now...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform