AnsweredAssumed Answered

help with delete record script

Question asked by JCPython on Apr 5, 2012
Latest reply on Apr 5, 2012 by JCPython


help with delete record script


Hey all,


I have created a script that isnt working at all for me, im sure its somehing so simple to fix, i want the script to run as follows, when the user clicks the delete record button, a show custom diolog appears asking if they are sure they want to delete or cancel, obviesly cancel would do nothing, but when i click delete it also does nothing.


looks like this:


Show custom diolog

if[Get (LastmessageChoice) = "Button 2"]

  Delete Record/Request [No dialog]


end if



am i working the if statement wrong maybe?

also on a side note is it possible to copy the text order of a script like what i just wrote out to simply copy n paste? or has everyone just been retyping out the whole script?