I want to put a validation at the FileExport dialogbox. If user press “YES”, the text will be exported and an agent will run. But if user press “CANCEL”, nothing will be executed.
Below is my code:
@If(@Command([FileExport];“Lotus 1-2-3”; file_name) =0;
@Command([RunAgent];“status_export”);
@Return(“”));
Currently, what I am getting is, either I press OK or CANCEL, system will still export and run the agent.
Appreciate if someone can help.
thanks.