I have a SQLite database table. I have written code that successfully updates existing records but I can't find code that will create new records. I searched this forum and found the following code--abridged for display here--that I amended to reflect my application, but it doesn't work. No new record is created.
Code: Select all
put fld "pcfnum" into tPCFnum
put fld "agency" into tDept
put fld "subject" into tSubject
put "INSERT INTO OpsDetails (pcfum,dept,subject) VALUES (" & merge ((" '[[tPCFnum]]' , '[[tDept]]', '[[tSubject]] ")) & ")" into tSQL
revExecuteSQL gDatabaseID, tSQL
Monty May