SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎DB Object‎ > ‎

DB.AppendFinish


Platform Objects


Description

Calling the trg.DB.AppendFinish inserts a new record into the database table. Should be called to finalize record's insertion. Returns new record's identity if available.


Syntax


Function AppendFinish([true|false])


Parameters


true|false (input) - if the new record identity is available

Return value


possibly returns new record identity


Example

Sample code

DB.TransactionStart() 
For I = 1 To 100 
   DB.AppendStart() 
   DB.SetFieldValue "Field1", I 
   DB.AppnedFinish()
Next
DB.TransactionFinish()
End If


See also

Platform Objects and Methods
DB.sort
DB.AppendFinish
DB.SetFieldValue
DB.TransactionFinish