How to prevent deleting a specific report
Users should have the possiblity to delete any report with one exception:
They should not delete a report with the name 'Default'.
I can't seem to find an ondelete event where I could put some code to
prevent a report from being deleted while other reports which aren't
named 'Default' can be deleted.
I already prevented saving reports with above name for users.
So what could be the solution for my little problem.
--- posted by geoForum on http://delphi.newswhat.com
They should not delete a report with the name 'Default'.
I can't seem to find an ondelete event where I could put some code to
prevent a report from being deleted while other reports which aren't
named 'Default' can be deleted.
I already prevented saving reports with above name for users.
So what could be the solution for my little problem.
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
--- posted by geoForum on http://delphi.newswhat.com