Fields registry table

back to main page - contents - top
previous topic: Table properties
next topic: Links
This table contains the central register of all fields used in the database. The field parameters concerns the way fields are displayed and their access permission settings and many more field-specific settings.

view fields

Fields in the fields table

KeyDatabase fieldHeaderDescription
NUMIDNUMIDNUMIDThe numerical id. 
IDIDIDThe short name of the field. 
OwnerOWNEROwnerThe owner of the field properties entry set (admin). 
DatDATLast updateThe date on which the field definition was last changed. 
TableTBLTableThe table which this field belongs to. 
TemplateTEMPLATETemplateThis template text is only used for the template fieldtype. <*value*> in this text is replaced by the value of the field. 
DescriptionDESCRIPTIONDescriptionThe description of the field. 
ActionsACTIONSActionsAllowed actions and their repective permission requirements for this field. 
StrSTRHeaderThe header text of this field to be displayed in list and edit views. 
OptionsOPTIONSOptionsThe options for this field separated by vertical bars |. 
TypeTYPETypeThe type of the field. Field types in Xtalbase are an extension of the HTML form field types. In many cases fields can contain multiple values (like in the multiple_select field type) or composite values like the stocks field type. 
ValidVALIDValidThe valid parameter encodes validity checks for this field. Possible values are 'ne' for 'not empty', min=x (not smaller than x), max=x (not larger than x), maxl=x (not longerthan x bytes), num (is a number), regex=x (follows regular expression x), invregex=x (does not follow regular expression x). 
RegexDescREGEXDESCRegular expression descriptive textThis is a description of the regular expression in valid field. This text is displayed in a javascript alert, when the value does not match the regular expression. 
DspDSPDisplayThis flag determines whether this field is shown in the object list. 
SearchSEARCHsearch enabledThis flag determines whether the field is searchable or not. 
OrderSEQOrderThe order by which the objects shall be displayed in the list view or in select form fields. 
CrossRefCROSSREFCross referenceThe cross reference is an instruction for where the options for the field shall be taken from. The cross reference refers to a table and a field which contains the possible values and tells the system whether an empty option shall be included or not. 
FldFLDDbase field nameThe name of the field in the MySQL database. 
DbSizeDBSIZEDbase field sizeThe database field size. This value is not needed for certain data types (text, enum etc). 
DBnullDBNULLDbase field NULL flagThis setting directly corresponds to the NULL value in MySQL and tells whether an undefined field is indicated by a NULL value. The default is no, i.e. the empty string (or 0 for numbers) is interpreted as undefined. 
DBkeyDBKEYDbase field keyThis value can be either 'PRI' or 'MUL' or empty depending whether the field is a primary index, a multiple index or no index at all. 
DBdefaultDBDEFAULTDbase field defaultThis value is the default value for the field. 
DBextraDBEXTRADbase field extraThis value is either empty or 'auto_increment', depending on whether the value of the field should be incremented when a new object is created or not. The only field, which is set to 'auto_increment' is NUMID, which is generally also the primary index. 
DbcollationDBCOLLATIONThe Collation (font) of the field 
ShareSHARESharesThe Share field is used to give other users viewing or modifying rights for a certain object. Permissions can be given to specific users, to the group to which the object owner belongs to and to all users. 

Actions in the fields table

IconDescription
display (and edit) the field
create a new field
copy the current field
view fields
delete the field
update the field


Contact the system developer - back - reload