Database Field Attributes Documentation

 

[!] Limited Selection List

Parameter is a comma separated list (without quotes) of the options made available to the user and enforced on save. If the Parameter is just the single word Checkbox, then instead of a drop down list with values, the user will be given a single checkbox; if it is unchecked the value will be blank, and if it is checked the value will be "y". When used with a Top Query in MOX, this will ensure the field value matches one of the options, if not it will throw a run time error.

Read more...

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

Read more...

 

 

[&] Count Attached Child Records

Takes 1 Parameter which is the Table name that you want to count the Attached Records in. The specified Table must be a Child of the calling Record's Table.

Read more...

 

[+] Sum of Field of Attached Child Records

Parameter is the table and field name that you want to sum in the form of TableName.FieldName. The specified Table must be a Child of the calling Record.

Read more...

 

 

[AccKey] Keyboard Accelorator Key

Takes one parameter which is the keyboard key which will be used as the Access Key for a given Database Table's field.

*Note: By default, each Field's Access Key will be initialized to the first character of the Field's Label.

Read more...

 

[Ajax]

Takes 3 parameters, Trigger, DestinationID, Path

Read more...

 

[A] Copy Attached Value

Parameter must first specify only looking at Parents (PARENT) or only looking at Children (CHILD). The remainder of the parameter should be the table and field name you are after in the form of TableName.FieldName.

Read more...

 

[Custom] HTML Field Attribute

Allows any extra HTML Attributes to be specified in the Control's HTML Tag

 

[DatePicker]

No parameters, provides a user friendly date picker as the input field for a given Field.

Read more...

 

 

 

[D] Default Value

Parameter is a value or an expression to be used when a record is created if no value is specified during the creation. The value or expression is run through the Assignment Attribute in order to calculate it's result.

Read more...

 

[If] Assignment (DB Field Attribute)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

Read more...

 

[L] Lookup (DB Field Attribute)

Parameter is the database path that is to be looked up in the form of TableName|Alias|FieldName where it may be a specific fixed path or you may use {} to replace one or more of the path components where the value inside the {} is a field name in the current record.

Read more...

 

[Markdown]

Has no parameters.

Read more...

 

[MaxLen]

Accepts a numeric value as a parameter.

Read more...

 

[Max]

Accepts a numeric value as a parameter.

Read more...

 

 

[Min]

Accepts a numeric value as a parameter.

Read more...

 

[MText] Multiline Text Editor

Accepts one optional numeric value as a parameter

Read more...

 

[Placeholder]

Accepts one parameter

Read more...

 

[Raw] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form at the Field's location.

Read more...

 

[R] Readonly

Has no parameters.

Read more...

 

[Score] 0.0 to 10

Accepts 3 parameters, first is required, 2nd and 3rd are optional.

Read more...

 

[SearchFieldList]

Parameter is a space separated list of field names to be displayed when the user is viewing results from the Search List.

Read more...

 

[SearchSort]

Parameter is a space separated list of field names to have the display table sorted by when displaying search results.

Read more...

 

[Sort] (DB Field Attribute)

Used as a Relationship Attribute, the parameter is a space separated list of field names

Read more...

 

[State] Error State

Takes one parameter.

Read more...

 

[Temp] Field

Parameter is a single new field name or a space separated list of new field names.

Read more...

 

 

[_#] Format if not blank (DB Field Attribute)

Takes 1 parameter, a formatting mask

Read more...