| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Apply a new value to a field
Source position: sqldb.pp line 459
| public procedure TSQLSequence.Apply; | 
Apply applies the new value it gets for TSQLSequence.SequenceName using TSQLSequence.GetNextValue to the field TSQLSequence.FieldName of the dataset it is attached to.
If the dataset is not attached to a connected database, an exception will be raised.
| 
 | Get a next value for the sequence | |
| 
 | Field to apply sequence to | |
| 
 | Sequence name to get values from | |
| 
 | Value to increment sequence with |