I am trying to insert a new blank record with the first field set as PK (autoinc).
There are eight fields, and I expect the PK (first field) to get updated automatically.
I get error Primary Key must be unique (code 19) on the second insert.
What am I doing wrong?
Thanks kindly.
B4X:
efCM.SQL1.ExecNonQuery2("INSERT INTO Emp VALUES (?,?,?,?,?,?,?,?)", _
Array As String(0,"","","","",Null,0,""))
There are eight fields, and I expect the PK (first field) to get updated automatically.
I get error Primary Key must be unique (code 19) on the second insert.
What am I doing wrong?
Thanks kindly.