Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formsets vs Independent Forms

Status
Not open for further replies.

Loomis

Programmer
Jan 4, 2000
30
US
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?
 
Hi,

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.

After the GoldRush - Steve McConnell
 
I forgot,

an example of how I use fromsets can been seen at:



This is one of my private projects that I have been working on.

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.

After the GoldRush - Steve McConnell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top