Page 1 of 1

Named Foundsets

PostPosted: Thu Mar 06, 2008 6:51 pm
by jbader
Currently in Servoy you have a choice (at the form property level) to use the same foundset being used by other forms (using the same table) or a "separate" foundset. It would really be nice to be able to give a foundset a name and be able to request that certain forms use a certain foundset with that name.

So there would be three options for a form's foundset:

1). Default (the foundset shared by all forms using the same table)
2). Separate (a seperate foundset for a given table)
3). A foundset of name "foo"

**I am referring to a form property not a foundset object gotten programatically.

Any takers? ;-)

PostPosted: Thu Mar 06, 2008 6:58 pm
by IT2Be
Maybe my thinking is wrong but once you 'name' a foundset on a form you would also 'pick up' that foundset from that form (am I clear).
If so what would be the benefit over named foundsets because you would refer to that foundset anyway?

Or, in other words, what would be the benefit of named foundset over setting them in a method and how do you see that happening?

PostPosted: Thu Mar 06, 2008 7:00 pm
You mean you want multiple shared foundsets. Right now you only have 1 shared foundset where Servoy takes care of all 'communication' between the forms that use this shared foundset (change selection, etc).
The moment you use a seperate foundset you need to code this 'communication' between other forms with seperate foundsets yourself.
Now with 'named' foundsets you could pre-define such a foundset on a table and let different forms use this.

I (and a bunch of other developers) have wanted this since a long time (1.2?) so YES you have my vote on this one :)


PostPosted: Thu Mar 06, 2008 7:02 pm
by jbader
Exactly :!:

PostPosted: Thu Mar 06, 2008 8:04 pm
Hi Jeff,

If you haven't done so already please also file this request this in the support database.


PostPosted: Thu Mar 06, 2008 8:15 pm
by jbader

PostPosted: Mon Mar 10, 2008 10:34 am
by martinh
ROCLASI wrote:You mean you want multiple shared foundsets.

That would be a great feature, to have multiple shared foundsets.
That possibility would be very welcome in my solutions.
Now I'm copying all the time foundsets to a form, because it is the only way to maintain the correct foundset to the correct form

Thoughts on this?

PostPosted: Fri Apr 25, 2008 5:57 pm
by jbader
Just following up...has anyone at Servoy considered this feature, or looked at how dificult it would be to integrate into version "next?"

PostPosted: Wed Apr 30, 2008 3:31 pm
by Jan Blok
It is in our support system, along with many other day we will get to this, in mean time you can do this yourselfs with scripting