• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 10. More on Working with Scripts > Implementing the Cancel Button with an ...

Implementing the Cancel Button with an If Script Step

The script as shown here does what it's supposed to do, but you can easily improve it in several ways. One way is to use the Set Error Capture script step to capture errors so that you can provide your own error handling. (This was described in Hour 9.)

Another enhancement is to implement the Cancel button. As it stands, the script works. But if you have removed the Cancel button from the dialog, when you run the script, if you decide you don't want to search the database, you have to keep going, perform some meaningless search or other, and then get control of your database yourself.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint