Set FieldReplaces the entire contents of the specified field in the current record with a calculation result.
• Specify target field specifies the field whose contents you want to replace. If no field is specified and a field is selected in Browse mode or Find mode, that field is used.
• <value or formula> is the calculation whose results will be inserted by this script step.
• The result of the calculation must match the field type. For example, you can't assign a date calculation to a container field.
• If the result of the calculation doesn’t match the target field type, and the validate option for the field is set to Always, the field will not be set and an error code is returned (which can be captured with the Get(LastError) function).