How Do I Set the Engine to Execute the Record Suffix Logic Unit Even if the Record has Not Been Updated? (Magic xpa 4.x)
Normally, in an online task, record suffix is only executed if the record has been changed by the user. This is, in fact, what you generally want, because there is no point in writing the record unless it was changed.
However, there are times when you will want to execute record suffix whenever the user leaves the record, even though nothing was changed. This might be the case, for instance, when you want to display a particular message or do some sort of computations or logging.
-
Press Ctrl+P (Task->Task Properties).
-
Select the Behavior tab.
-
Set Force record suffix to Yes.
-
Alternatively, you can zoom (F5, double-click, or Edit->Zoom) to create an expression that determines when and when not to force record suffix to execute.
Note: You can use the control events to do much of what used to be done in record suffix. Control events give you a much finer level of control.
How Do I Format an Expression in the Expression Window?
The Online and Rich Client Samples projects (program EN09 and REN09)