Custom Delete Method
447620Feb 21 2007 — edited Feb 26 2007Hi,
I have created a custom delete method in my application module that simple deletes the current row selected.
I dropped my delete method on my main page as a button where i a read only tables. based on the selected record, i delete the row.
If the row selected for deletion is referenced by another table as a foreign key, then my method raises an error, however it temporarily deletes the record from the screen. When i start a new session the record is there.
I don't want the method to remove it if there are errors.
I tryed getDBTransaction().cancelDMLOperations(); and getDBTransaction().rollback(); but nothing.
Please help
Antonis