Normal Topic Disappearing Records (Read 497 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Disappearing Records
Apr 18th, 2017 at 12:41pm
Print Post Print Post  
I've had six occurrences in the last 36 hours of records being deleted from my critical Work Instruction file.  I have the following programming in my On Form Entry section to try and eliminate record deletion.  This programming has been there for quite some time:

// DISALLOW DELETING EXCEPT BY ADMINISTRATORS

     If @Group = "MASTER"
         {
             NotifyForm(-4) // Allow Delete
         }
     Else
         {
             NotifyForm(4) // DisAllow Delete
         }


Is there some other method or programming to ensure files are not deleted except by one or two individuals?  In my application the MASTER group is limited to myself and the backup person.

HELP!!
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Disappearing Records
Reply #1 - Apr 18th, 2017 at 7:57pm
Print Post Print Post  
Hi Paul,

Make sure that you are not setting NotifyForm(0) anywhere else on your form that would clear that flag and allow someone else to delete that record.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged