Servoy's export functionality/utility from a 'Main' form

Hi there!

I just noticed that I can’t use the Export utility that’s in the menu (File>Export) because my forms are within a main form that’s agnostic. I mean, the ‘main’ form does not have any specific ‘dataSource.’ I contains two ‘TabPanel’ elements (no relation present of course) that I use for the CRUD buttons and navigation among various forms -which have the actual back-end ‘dataSource’ tables)

I’d like to provide the user with Servoy’s already neat export functionality that is on the menu.

More specifically, I’d like to be able to use the Servoy “Export” even when my actual tables’ based forms are inside a form that do not have a defined ‘dataSource.’ I guess I could do this programmatically.

My question is: How? I guess a I could cache the found set the user is working on and write a method to open the Servoy’s “Export”, so that the user can have the regular options to export the based table and its related data.

One more thing: I don’t need to hide the menu item ‘File.’ All I need to do, it’s to get it to recognize the underline data set in the form the user is working on (the data table he/she wants export)

Has anyone encounter this challenge? What can I do? Any example available from Servoy or anyone in the forum? Is this possible?

Thanks, Carlos

THe default export function is very limited,

have you searched the forum??

http://forum.servoy.com/viewtopic.php?f … 66&p=72676
viewtopic.php?f=22&t=11710&p=58520&hilit=export+excel#p58562
viewtopic.php?f=12&t=6401&p=31479&hilit=export+excel#p31479

hey, and even my own: viewtopic.php?f=12&t=2585&p=61278&hilit=export+harjo#p11673

So many ways of doing this yourself… ;-)