I'm trying to calculate a numeric value of a field based on the value of another field as a row is created using an "After Insert" macro. To test this I've created a table which has two integer columns "NUMBER1" and "NUMBER2". The macro was defined using the wizard as:
Code:
EditRecord
SetField
Alias
Name NUMBER2
Value = 5+[NUMBER1]
End EditRecord
NUMBER2 is not populated when I enter a value in NUMBER1
I get the following in USysApplicationLog:
Error Description
-20335 EditRecord failed because the default alias represents a record which is read only.