I am attempting to use the Attribute Assistant to auto-populate some fields when I create a record in a related table. I am creating the related record via the attributes window, i.e. I have a feature selected, and I right click on the related table and click 'add new'. This creates the related record and populates the foreign key 'PID'. However the AA rule to copy additional fields over does not work as expected.
Here is the rule:
| Table Name | Field Name | Value Method | Value Info | On Create | On Change (Attribute) | On Change (Geometry) | Manual Only | Rule Weight | Comments |
|---|
| Acct_Review | ACCTNO | COPY_LINKED_RECORD | SWU_PARCEL|ACCTNO|PID|PID | True | False | False | False | <Null> | <Null> |
The log:
Row Info
Row Number 5
TableName: Acct_Review
FieldName: ACCTNO
ValueInfo: SWU_PARCEL|ACCTNO|PID|PID
ValueMethod: COPY_LINKED_RECORD
On Create: 1
On Change: 0
Checking for Subtype Restriction
Field Name: ACCTNO was found at index: 2
Trying: COPY_LINKED_RECORD
Getting Value Info
Checking values
Checking Field in Edited Layer
Finished: COPY_LINKED_RECORD
If I run the rule manually after creating the record, the rule runs fine. Is it not possible to have this rule run like I am hoping?
Michael Miller