March 12, 201015 yr Hi, when a User adds an item (every item is unique) to an invoice a script marks the item as "charged". Now my Problem if the user deletes the invoice the item should be marked as "uncharged". No Problem If I'm writing a delete script assigned to a button but what if the user clicks on "delete Record" in the FM Menu? Thanks by ChiSao
March 12, 201015 yr Deleting an Invoice is a fraudulent action, a raincheck needs to be issued... --sd
March 12, 201015 yr You can force a script instead of the default Delete Record[] action by using custom menus.
March 12, 201015 yr Author You're right. But in my solution you can delete an invoice only in the creation process. But once the invoice is billed there is no possibility to delete the invoice
March 12, 201015 yr Once you have decided to take control of the basic FM functions (New/delete etc.) then you must protect the database by replacing the menu items with button driven scripts or possibly use the scripts menu. Custom menus will work admirably, but it's a lot easier to set the menu access level to EDIT only in the privileges.
Create an account or sign in to comment