UpdateRelated

Title  Update Related

Description

Creates an attribute rule to update fields in related rows.

Usage

          
This rule can be used to update related rows.  Rows can be related via Utility Network Associations, relationshop classes, a pair of fields(primary/foreign key), or a spatial intersection.

License

Standard

Syntax

UpdateRelated (in_table, out_folder, {where_clause}, {assoc_options}, {relate_options}, {match_fields_options}, {spatial_options})

Parameter Explanation Data Type
in_table Dialog Reference

The table or feature class that will have the new rule applied.

GPFeatureLayer
out_folder Dialog Reference

The folder where the output CSV will be saved. The name of the file is taken from in_table.

DEFolder
where_clause (Optional) Dialog Reference

SQL Expression to filter records. Only records that satisfy the query will be calculated.

GPSQLExpression
assoc_options (Optional) Dialog Reference

The search options using utility network associations

GPValueTable
relate_options (Optional) Dialog Reference

The search options using a relationship class

GPValueTable
match_fields_options (Optional) Dialog Reference

The search options using a pair of fields to look up the related record

GPValueTable
spatial_options (Optional) Dialog Reference

A spatial search only

GPValueTable

Code Samples