The Default Row Identity property is used in conjunction with the Identity Fields property as a method of selecting a default value in the Data Table.
The value applied to this property is searched for (in the field defined in the Identity Fields property) and when found the entire row will be selected by default.
The Default Row Identity controls the default identity value of the control.
If the default identity value is based on a rule, and the value of the rule changes, then the selected identity value of the control will be changed to be the default identity value.
Property Type: Static
Default Value: No default value is applied to this property
Hierarchical Reference: ControlName.DefaultRowIdentity
Ensure the property is a static property (It will display the gray orb alongside the property name)
The default value of the static property can be changed by typing the required value directly into the caption property field
Default Row Identity Property Value (static) | Result | Notes |
---|---|---|
Acme Co. | Will select the first row containing Acme Co. | The Identity Fields property must be set to a field that contains this value. |
A rule can also be built for this property by changing the type to dynamic.
See How To: Change A Static Property To A Dynamic Property.
Default Row Identity Property Value (Dynamic) | Result | Notes |
---|---|---|
IF(CustomerFilterReturn="A to L","Acme Co.","My Co Inc.") | Will select the first row containing Acme Co. when the control CustomerFilter equals "A to L". Otherwise "My Co Inc." will be selected. | The Identity Fields property must be set to a field that contains this value. |
Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.