[VSDK] DELETE FROM crash

Arthur Clemens aclemens at xs4all.nl
Sat Dec 6 00:42:19 CST 2003


>
> I found out I have an additional space at the end of the DELETE query 
> string:
>
> NSString *query = [NSString stringWithFormat:@
>         "DELETE FROM %@ "
>         "WHERE parent = %i ", [self fieldId], parentId];
>
> Apparently Valentina crashes on this.

This is still not the only solution, as the current beta framework of 1 
Dec still crashes with DELETE.

But this seems to be a problem on my side: somehow the references 
between parent and child table where lost using one way of adding 
records.
So I tried to do:
DELETE FROM slovene_word WHERE parent = 1

while the parent record did not exist.


Arthru



More information about the Valentina mailing list