The next table presents the properties of the Edit Record widget.

Property

Description

Optionality

Default value

Obs.

Name

Name of the widget used in the screen scope.

Mandatory

EditRecordn

This name represents the widget in the Scope Tree where it aggregates its runtime properties.

See rules for naming elements.

Source Record

This property is used when you want to allow end-users to edit a record that already exists on the database.

A copy of the source record will be created and stored in an implicit variable within the Edit Record itself.

Optional

 

Contrary to Table Records, List Records and Show Record widgets, the Source Record variable is only copied once into the Edit Record, after the screen Preparation finishes. Afterwards, when executing Screen Actions the values stored on the Source Record, will not be copied into the Edit Record's implicit variable, ensuring the end-user input is never overwritten.

 

Record Definition

List of entities and/or structures that define the internal value of the widget. You can type the name of the entity or structure, use the Record editor, or select one of the entities and structures displayed.

Optional

 

Mandatory only when the property SourceRecord is not specified.

This property is used when you only want to add a new record.

Width

Indicates the width of the widget. You can change the width by editing this property or by resizing it using the Grid in the Content Canvas.

Optional

5 col

The value of this property can be in columns, pixels, points, or percentage.

Margin Left

Indicates the width of the left margin of the widget.

This value can be automatically set by the Grid.

Optional

Auto

The value of this property can be in pixels, points, or percentage.

If not defined and the widget style defines a margin-left then this margin is applied to the widget.

Margin Top

Indicates the height of the top margin of the widget.

This value can be automatically set by the Grid.

Optional

Auto

The value of this property can be in pixels or points.

If Auto is selected and the widget style defines a  margin-top then this margin is applied to the widget.

Display Columns

Indicates whether you want 1 or 2 attributes per row.

Mandatory

2

 

Label Width

Indicates the width of the column associated with the label.

Mandatory

30%

 

Cell Height

Indicates the height, in number of pixels, of the cells.

Optional

 

 

Cell Spacing

Indicates the number of pixels between the cells.

Optional

1

 

Style

Drop-down list with the styles to be applied to the contents of the edit record.

Optional

EditRecord

Learn more about styles sheets.

Double-click on the property and the Style Sheet Editor is opened with the current style already selected.

Label Style

Drop-down list with the styles to be applied to the labels.

Optional

EditRecord_Caption

Learn more about styles sheets.

Value Style

Drop-down list with the styles to be applied to the value columns.

Optional

EditRecord_Value

Learn more about styles sheets.

Extended Properties - Additional properties for attributes and/or events that implement specific behaviors of your widget.

Property

Name of the attribute that the HTML element can accept as specified in the HTML language reference.

NA

 

This property is added to the <table> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

Value

The value for the attribute.

NA

 

This property is added to the <table> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

See Also

About Edit Record Widget | Edit Record Widget Runtime Properties