New Tabpanel in Body for each returned Foundset

I am looking for insight and advice on how to implement viewing a history of mutiple searches in servoy using tabpanels.

I have a list of fields in the header that are searchable; lets take a p2p music sharing program for simplicity.

each time I execute a new search, it should open a new tab in the body

search1 | search2 | search3

FoundDataSet as organized by external form

The external form will need to do 1 of 2 things:
1)have multiple simultaneous instances (rather slow, lots of RAM), or
2)using methods, store the different foundsets in globals and reprocess the form every time you switch tabs.

GamePlan:
1)Create new tab on each click of the “Search” Button
2)Add the new foundset to a global array of foundsets
3)Program the external form to load the new dataset on tab switches

I am looking for some help organizing and coding this functionality.
Any takers?!
Thanks!

Whould the things you are searching be database data? (comming from a database as seen by Servoy?)

Yes, basically it is a quick way of searching for two or more different queries, and having each foundset be accessible without reentering the query.

Limewire, a P2P music sharing program implements this very nicely, I’ll upload a screenshot when I get home, but you should download it to get an idea of the interface and it’s features.

I saw in another post that you can’t add TabPanels on the fly, and this would be a prerequisite.

you can’t create another tab panel for every search

But what you can do is make a combo field with a custom valuelist where you add a item for every search you are doing. And the on datachange of that combo (build on a global dataprovider) you set the foundset you did get for the search that was done for that item.

You can store a foundset for every search you do in a javascript array..
then you have almost exactly the same thing as limewire but not in tabs but with a combo for selecting previous searches.