Hilmar,
we missunderstood each other. I want to USE the PK of the table, wich record is deleted, to perform some action. But I only get the PK Value if the table is positioned on the right record (the one I want to delete).
In my case the table is positioned anywhere !
THis only happens with cascading delete.
Any further ideas ?
Marcus
>>The __ri_MyTable_Update() of Table3 works fine when I delete a record in Table2. I get into my code and have the record wich is planed to delete as actual record.
>
>I would use the PK of the originating table (the table for which the trigger is defined) to do additional actions when deleting a record. Your custom code would search for records that have the same FK.