How to customize "export results"

lost

Member²
I want to have an export option as SQL not as list of INSERT-s, but as a MERGE.
It seems that I should export "*Export*" functions from my plugin dll.
But how to know the data source (commonly table name) of the result?
 
Last edited:
This information is not available from the Plug-In interface. You would need to parse the SQL text of the editor.
 
It is very sad. I don't know how to determine last executed SELECT-statement in PLSD. :( Thanks anyway...
But PLSD have a
Code:
\Scripts\ExportResultsToSQLInitialization.sql
template and
Code:
%TABLENAME%
variable in it. Maybe there is some way to get it's value in plugin without parsing?
And what kind of additional info hidden under this statement of documentation?
Plug-In Export functions
Not all functions related to export functions are described yet. If you want to create your own data export module, just let us know and we will give you some additional information.
 
Last edited:
Marco Kalter said:
This information is not available from the Plug-In interface. You would need to parse the SQL text of the editor.
Marco, please add parameter to ExportInit() with value of %TABLENAME% template variable, as it made in common "Export Results as SQL file"
 
Back
Top