Cancel within a DoBrowse dialog operation

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
jbas
Junior Coder
Posts: 29
Joined: Tue Dec 15, 2009 4:59 pm

Cancel within a DoBrowse dialog operation

Post by jbas » Mon Dec 27, 2010 8:14 pm

I used the 'File Browse Example' sample script as a starting point for a 'File Browse' function.

I modified the sample dialog to allow a 'Cancel' because I need that functionality.

But now I'm trying to figure out how I can determine if they 'Canceled' from within the 'File Browse' operation so I can retain the 'default' values applied to the fields before they did the 'Browse'.

Ideas / Suggestions? Thanks!

jbas
Junior Coder
Posts: 29
Joined: Tue Dec 15, 2009 4:59 pm

Cancel

Post by jbas » Mon Dec 27, 2010 8:35 pm

I found the answer - DoBrowse returns 'null' if the operation is canceled.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts