Add

Wednesday, August 12, 2009

Field Properties in Navision

Just like tables, all the fields in C/SIDE have a number of properties that determine their behavior. When you create a field, C/SIDE automatically suggests a number of default values for these properties. Depending on the purpose of the field, you will sometimes want to change these default values.
The above table list the properties that are common to most field types.
PropertyNameDescription
Field No. PropertyAssigns a unique numeric ID to this Field.
Name PropertySpecifies the name of the field.
Caption PropertySpecifies the text used to identify a control based on the field.
CaptionML PropertySpecifies the text that is used to identify a control or other object in the user interface. The CaptionML property is multilanguage enabled and can contain a list of text in different languages. The text that is used is selected according to the current language setting of the user.
CaptionClass PropertyControls the caption that is used in the label of a field in a database table or in the label of a control on a form.
Description PropertyIncludes an optional description of the field. This description is for internal purposes only and is not visible to the end user.
Data Type PropertySpecifies the data type of a table field.
Enabled PropertyDetermines whether the field is enabled.


A field may have additional properties, depending on its data type. The following table lists properties that apply to various field types.
PropertyNameDescription
DataLength PropertySpecifies the maximum length of the data stored in a code or text field.
InitValue PropertyDefines an initial value for a field.
FieldClass PropertyDefine the class for a field. That is, specifies whether it is a normal field, a FlowField, or a FlowFilter field.
CalcFormula PropertyDefines a formula used by a FlowField.
AltSearchField PropertyDefines an alternative search field.
DecimalPlaces PropertySets the number of decimal places shown to the user. This property also performs validation of whether user input conforms to this setting.
Editable PropertyDetermines whether a field can be edited.
NotBlank PropertyForces the user to make a non-blank entry in this field.
BlankNumbers PropertyDetermines whether a range of numbers will be set to blank as they are formatted.
Numeric PropertyForces the user to enter numbers in this field.
CharAllowed PropertySets the characters you will allow the user to enter in this field.
DateFormula PropertyValidates the syntax of a date expression entered by the user.
Standard day/time unit PropertySpecifies the unit of measure that is used when you enter data into Duration fields.
MinValue PropertySets the minimum value for the contents of a field.
MaxValue PropertySets the maximum value for the contents of a field.
Title PropertyAdds a title to a field. The first letter in each word is capitalized.
ValuesAllowed PropertySpecifies the values you want to allow in the field. Can be specified either as a range or as distinct values, or as a combination of these.
AutoIncrement PropertySpecifies whether each field value is automatically given a new number that is greater than the number given to the previous value.
TableRelation PropertyDefines relationships to other tables.
TestTableRelation PropertyIndicates whether the field is included in table relationship tests.
TableIDExpr PropertySpecifies the ID of the table to which you want to apply a table filter.
BlankZero PropertyDetermines whether the fields appears blank if the value is 0 (zero) or FALSE.
DataLength PropertyDefines the length of a data field.
OptionString PropertyDefines an option string (a comma-separated string of options). The maximum size is 1000 characters.
ClosingDates PropertyDetermines whether closing dates are allowed.
AutoFormatType PropertyDetermines how data is formatted.
AutoFormatExpr PropertyDetermines how data is formatted.
OptionCaption PropertyDefines the text string options that are displayed to the user.

No comments: