Refresh hide when formulas before executing agent in @formula

Hello,

I have a form on the web with a submit button that executes an agent with @command([ToolsRunMacro]) after setting some fields and saving the form.

Normally, I’ll control the display of a field by setting a hidden radio-button “flag” on the form and have it refresh on keyword change; but this doesn’t seem to work before the agent executes. I want it to refresh before so I can display some text on the screen like “Processing Request… please wait”

Here’s the formula:

FIELD SearchingFlag := “1”;

@Command([ToolsRunMacro] ; “GetCustInfo”);

@Command([FileSave]);

@Command([Compose] ; “OrderHeaderForm”)

I’ve tried moving around the FileSave line, and I’ve tried adding an extra save after setting the SearchingFlag, but neither of these things worked.

Any help would be appreciated,

Thanks,

Scott

Subject: Refresh hide when formulas before executing agent in @formula

Try @Command([ViewRefreshFields]).

Setting a field via macro code or LotusScript, I don’t think is ever going to trigger the keyword change refresh. It’s the FileSave that’s doing that in this case.

See also: @Command([RunAgent]…)