Home Search

DriveWorks Pro 21
Default Row Identity

Send Feedback

Default Row Identity

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.

Use this method of selecting a default row as an alternate to using the Default Row Index property if the row needs to be selected by a text value rather than a row index.

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

To Change the Default Value

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

  1. Click in the property for the control to be changed.
  2. Type the required value directly into the property field.

Examples

Default Row Identity Property Value (static)ResultNotes
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)ResultNotes
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.