Table of Contents

Enum FieldFlags

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

A list of possible field flags.

[Flags]
public enum FieldFlags
Extension Methods

Fields

Boolean = 32

It is an integer field that must be displayed in a check box control. 0 = false, 1 = true.

Extra = 4096

The field does NOT exist in the database. It just added to the DataTable schema for some reason.

ForeignKey = 2048

A foreign key field

Hidden = 1

Must be hidden

Image = 256

Field is an image, i.e. png, jpg, etc.

ImagePath = 512

Field is a path to an image.

LargeMemo = 128

Field is a α large multiline text

Memo = 64

Field is a multiline text

NoInsertUpdate = 1024

The field is not used with INSERT or UPDATE statements.

It maybe something like the ExtraField or an identity/autoinc field, in a position other than that of a primary key

None = 0

Container of the flags is set

ReadOnly = 2

Determines whether the field can be modified

ReadOnlyEdit = 8

The field is editable when inserting only

ReadOnlyUI = 4

Concerns controls that display the field

Required = 16

Can not be null

Searchable = 8192

Field is searchable and can be a part of a filter.