@Ratslinger You are right…
Ok…I’m developing a software that will generate a few different reports (MapBasic and c#).
When the user click in a report it export the data as DBF into a folder and then I have the base file that takes the data from the DBF files and generate a report.
My goal is: the user press generate report X in my software and it just show the report output file (calc or write).
At this moment to archive that I have a macro in My Macros that receive two parameters, the odb file path and the report name and then I open that document and launch the the report.
To call the macro I use the command line, but it doesn’t work with odb files, so I need to put the macro in My Macros for every client.
Ps. I tried to use the API for c# but without success (to load the odb file and launch the report)…