Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSQLSequenceApplyEvent

When to fetch a new sequence number.

Declaration

Source position: sqldb.pp line 463

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: Dec 22 2024