Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms v.s. FormSets
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00020280
Message ID:
00020358
Vues:
43
>>>If I use a form now, will I wish that I used FormSet later ? Is there a reason to decide this early in the development ? Any suggestions will be welcome
>>
>>This is always a good question at start of project design...
>>It makes life easier to plan ahead. It's a nuisance to have to rearrange your framework in the middle of a project, I speak from experience. (s)
>>
>>In current project, I have some 5 formsets and about 12 singles. At design, formsets make editing easier when you'll be editing some forms simultaneously, and also when you have common user methods and props. At run time, if you're going to have some forms always open simultaneously, then a formset can be a good choice. But if formsets get too large, they become slow opening. These ara general criteria I use in decision...
>
>Thanks Bruce, that helped a lot ! One question: Have you discovered afterward that a single form needed to be a formset, and converted it ?
>If so, any trouble with the process ?

No, that's the easier change to make, you just have to change thisform to thisformset.form in some places, mainly.

The other way around is a little more work, breaking up a formset into subformsets/singles...
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