` Prevent user from updating a form (Bill Roe ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Prevent user from updating a form
1999-10-26 -- Bill Roe
 
Try this (if ABC) In the "Local Objects", "ThisWindow", "RUN" Embed point (before calling the update form) Case Request Of InsertRecord If ~(YourUserRights) Then Return(RequestCancelled). Of ChangeRecord If ~(YourUserRights) Then Return(RequestCancelled). Of DeleteRecord If ~(YourUserRights) Then Return(RequestCancelled). End This should prevent any of the above conditions from happening regardless of how the are implemented (esc key etc.)


Today is November 21, 2024, 7:39 am
This article has been viewed 35193 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: