On 28.10.2010 16:33, Marco NOVARO wrote: > Shouldn't ROWID work for this issue? > For instance, > > SELECT ROWID, * FROM "Tickets"; > > returns a column (ROWID) that is the same as my private ID ("ID" INTEGER > PRIMARY KEY NOT NULL), and the following statement: > > UPDATE Tickets SET Assigned = 'MySelf' WHERE ROWID=5 > > works fine. This is the exact approach SQLiteSpy takes for cell editing in table mode. Unfortunately, it is not possible to generalize this for arbitrary user-entered queries for the reasons outlined in my previous message. Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa