Normal Topic Deleting records when NotifyForm(4) is set (Read 352 times)
PianoMan
Member
Members
*
Offline


No personal text

Posts: 44
Joined: Oct 13th, 2004
Deleting records when NotifyForm(4) is set
Jan 20th, 2012 at 3:49pm
Print Post Print Post  
Here is a mass update method for administrators to delete records when a form is set to deny deleting with the NotifyForm(4) flag...
Code
Select All
// mass update run on a set of records to delete
NotifyForm(-4)
WarningLevel(0)
DeleteRecord()
WarningLevel(1)
 

  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Deleting records when NotifyForm(4) is set
Reply #1 - Jan 20th, 2012 at 5:24pm
Print Post Print Post  
Don't forget to reset your NotifyForm flag when you're done.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged