Views - Fields Tab
The Fields tab contains parameters which determine the appearance and function of the DataSplice fields.
| Field Name | The dropdown list contains all of the fields named in the SQL statement of the Data tab. These fields are also displayed in table format in the Data tab. |
|---|---|
| Field Information | This display-only box indicates the selected field's data type, precision, and option flag settings. |
| Display Name | Indicates the value to use as the column header display in the clients. This value can also be set on the Data tab in the Display Name column. |
| Default Value | The default value will be automatically input into all new records created by DataSplice. This value can then be overridden by the user. If no default value is desired, this field should be left blank. |
| Format | The optional Format field applies a format to the data in the field for display purposes, such as displaying a date with a uniform appearance. For more information, please refer to the Format Strings page in the reference section. |
| Invisible | The Invisible checkbox designates the field as a non-display field. The field remains part of the view, but is not visible to users. |
| Readonly | The Readonly checkbox renders the field uneditable. |
| Searchable | The Searchable checkbox indicates whether or not a user can filter (search) the view on this field. While creating views for use with DataSplice, keep in mind that the first searchable field in the SQL statement of a view is the field used as the filter field in DataSplice. |
| Sortable | The Sortable checkbox indicates whether or not a user can sort the view on this field. |
| Field Validation | Setting up field validation supplies dropdown value lists for use during data entry, which helps to maintain data integrity.
|
Creating Field Validation
Field validation helps to minimize the frequency of data entry errors by limiting the possible entries for a field to a specific, pre-defined set of values. The user then only has to choose one of these values, rather than type it by hand. This increases efficiency and data integrity.
Validation Using a List
The following describes the process of using a list to validate a field.
|
To create field validation from a list:
|
The static list can display additional information to the right of the list of values. To create a two column list, separate the value from the additional information with the pipe character:
1 | 1st Value Both sides of the pipe will be displayed in the dropdown, but only the left side of the pipe will be inserted into the field.
Validation Using a View
The following describes the process of using another view to validate a field.
|
To create field validation from a view:
|