I have a "Send form as RTF file" button on my form, which works very well.
Now the user wants to perform the same rtf export from within another action button, which consists of a lot of LotusScript code.
I put the formula, which consists of eg:
@Command([FileExport]; "Microsoft RTF"; fileName );
.. into a "run once" agent.
I tried calling it using "Call agent.Run" and I also tried Evaluate (|@Command([FileExport......)
Neither of them worked.