What criteria should one use when deciding whether to use independent forms or forms within a formset? Is one approach generally considered to be better than the other?
Allthough most programmers will tell you not to use formsets, I believe that it hasn't been implemented in Fox for nothing.
It is just like PUBLIC variables, experienced programmers will tell you not to use them since they are a hazard to some programming styles (untracable ofteen..).
But I firmly believe that when you use public variables as well as formsets, they could be made to good use, when used properly. As you might have read in the thread mentioned in Chris' reply, I use then to have one object for the maintenance of f.i. debtors. I use the formset as a whole for all screen concerning maintenenace debtors. That is, the overview list, the maintenance form and the picklist that is instantiated in browse controls.
The advantage is that I can use one private datasession for all and will use my business object to handle data manipulation. (A nice advantage is that I can do maintenance in my picklists..).
HTH,
Weedz (Wietze Veld)
veld4663@exact.nl
They cling emotionally to code and fix development rather than choosing practices based on analytical assesments of what works best.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.