Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Advice on splitting forms

    If I am going to have multiple tabs in my apps what is a better way of approaching data sharing between the tabs? Is it better to have a form/ds on each form? One form/one ds across all tabs? please help.

    Thanks

    #2
    Hi Mark
    Typically you would show one form per tab in a tabset. Whether each form is bound to a different dataSource depends on what data is represented by the form. A datasource usually represents a set of fields for a logical object on the server - if your application has a tabset with several tabs each of which is showing a form containing details from the same server object, it makes sense to bind all these forms to the same dataSource (even if you're not showing exactly the same set of fields in each form).
    Otherwise it may make more sense to create a number of dataSources -- it really depends on your application.

    Comment

    Working...
    X