Thank you for your answer, however seems I wasn’t clear enough.
i don’t think this is an acceptable solution, because as I said I need to do a lot of processing on middle tier for some operations. trying to change value on event isn’t good one for this situation.
I looked there, spent sometime understating the sample, also it may not be as I want.
Here’s the question in other view.
Can I return table not defined on the SM?, like method with result as DataTable?
Can I return table not defined on the SM?, like method with result as DataTable?
We have Dynamic SQL sample, that shows how to retrieve schema and/or data via SQL generated at runtime.
Also look at SQLGetData method of DataAbstractService (DataAbstractService_Impl.pas) - and try to write similar method doing necessary operations on result Dataset. Read discussion http://connect.remobjects.com/discussion/168/how-to-load-a-dynamic-dataset-into-a-damemdatatable .
And take a look at business rules scripting, maybe it could be useful for you
http://wiki.remobjects.com/wiki/Business_Rules_Scripting
http://wiki.remobjects.com/wiki/Business_Rules_Scripting_Overview