May 11, 200619 yr I'm scripting a find using Perform Find. If no records are found, I get the following dialog box: "No records match this set of find requests" followed by Cancel, Continue, and Modify Find buttons. I would like to have a custom dialog box appear which says, "No records found", and the script then stops. I don't like the standard dialog box above, primarily because if the user selects cancel, the script stops at a bad step in my particular script, and if they select continue they end up in the wrong layout. I have tried: Perform find If (Get (found count) = 0) Show custom dialog ["No records found"] Halt script End if But I still get the above dialog box if the Perform find comes up with an empty set. Any suggestions would be greatly appreciated. Thanks.
May 11, 200619 yr We just answered this question two days ago, Click Here to see You need to use the script step [color:blue]Set Error Capture On and trap for the error [color:blue]401 HTH Lee
Create an account or sign in to comment