[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'db' (#fcl)

# TField.ProviderFlags

Flags for provider or update support

## Declaration

Source position: db.pas line 437

`published property TField.ProviderFlags: TProviderFlags read FProviderFlags write FProviderFlags;`

## Description

ProviderFlags contains a set of flags that can be used by engines that automatically generate update SQL statements or update data packets. The various items in the set tell the engine whether the key is a key field, should be used in the where clause of an update statement or whether - in fact - it should be updated at all.

These properties should be set by the programmer so engines such as SQLDB can create correct update SQL statements whenever they need to post changes to the database. Note that to be able to set these properties in a designer, persistent fields must be created.

## See also

TField.Origin |  | Original fieldname of the field.

The latest version of this document can be found at lazarus-ccr.sourceforge.net .