Hi list, I have a cursor : SELECT recId, string1, string2 FROM Table1 ORDER by string1 If this cursor is empty, then, later, the "cursor.addrecord()" method crashes the app. Naturally, it is better to use " where RecId=0 " but sometimes we have not the choice. olivier