How Do I Prevent the End User from Deleting Existing Records? (Magic xpa 3.x)
By default, a Magic xpa task allows users to add, delete, and change records. If you want to prevent the user from deleting records, do the following:
-
Go to task properties (Ctrl+P).
-
Click on the Options tab.
-
In the Delete field, enter No.
-
Alternatively, you can zoom (F5, double click) from the Delete field to enter a boolean expression. If the expression is false at runtime, the user will not be able to delete a record.
|
|
The Online and Rich Client Samples projects (program TS13 and RTS13)