crash on empty cursor

Olivier vidal_olivier at yahoo.fr
Mon Jan 10 19:57:57 CST 2005


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



More information about the Valentina-beta mailing list