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

TSQLSequenceApplyEvent

When to fetch a new sequence number

Declaration

Source position: sqldb.pp line 447

type TSQLSequenceApplyEvent = (

  saeOnNewRecord,

  

Fetch an ID when a new record is appended to a dataset

  saeOnPost

  

Fetch an ID when a new record is posted in the dataset

);

Description

TSQLSequenceApplyEvent enumerates the moments when a new ID must be fetched for a sequence field.

See also

TSQLSequence

  

Support for applying sequences to fields

TSQLConnection.GetSequenceNames

  

Return a list of sequence names

TSQLConnection.GetNextValue

  

Get next value for a sequence


Documentation generated on: May 14 2021