Unit 'msesqldb' Package
[Overview][Constants][Types][Classes][Index] [#msegui]

tsequencelink.datasource

Leave datasource and datafield empty to only fetch the sequence value on demand (e.g. read it from asinteger/ aslargeint in the dataset's onbeforepost) instead of consuming a new sequence value on every insert attempt

Declaration

Source position: msesqldb.pas line 509

published property tsequencelink.datasource : tdatasource
  read getdatasource
  write setdatasource;

Description

Leave datasource and datafield empty to only fetch the sequence value on demand (e.g. read it from asinteger/ aslargeint in the dataset's onbeforepost) instead of consuming a new sequence value on every insert attempt — useful when an insert can be aborted, since a bound field would otherwise waste a value each time.


Documentation generated on: 2026-10-03