Hello All - I need to do an lookup on the document refresh and/or save So even if the formula @Command([ToolsRefreshAllDocs]) is used, the lookup takes place and is saved within the document.
Where is the best event to place the code so that the dats is updated?
Agent Code:
FIELD SerialNum:=SerialNum;
FIELD AssetCenter:=AssetCenter;
MachineRes:=@DbLookup(“”:“NoCache”;“”; “ACF”;ID;2);
x:=@If(@Contains(MachineRes;SerialNum);“YES”;“NO”);
@SetField(“AssetCenter”;x);