Return an autoincrement field (field updated by sequence) value. Syntax: function GetLastInsertID(const FieldNum: integer): integer; Description: FieldNum - field number (0-based). Call GetLastInsertID to get an autoincrement field (field updated by sequence) value. If this field is not autoincrement one, GetLastInsertID returns -1. Example: For i:=0 to PsqlTable1.FieldCount - 1 do |