AnsweredAssumed Answered

Get (Last Error)

Question asked by willrollo on Feb 23, 2013
Latest reply on Feb 23, 2013 by schamblee


Get (Last Error)


     I want to be able to prevent a script finishing by detecting an error. 

     I have a print script. If the printing doesnt work, I want a custom dialogue to appear to state the fact and then quit the script. This will prevent my set fields commands that will set print date etc from going ahead. I cant seem to get FM to detect that the printer is not printing while testing it out. I am using If(Get(LastError)=0; Print etc etc else, Custom dialogue....exit script...