Adri Oosterwijk Posted March 19, 2011 Share Posted March 19, 2011 Hi everyone, I'm trying to do a record search in a script. The result is counted with a Get(FoundCount) function (i think that this is the right name because my localized version is Dutch). If the counted result is smaller then a given number it is allowed to enter a new record. The value 0 is smaller so in this case the user must be able to enter a new record. The case is when the result is 0 I am prompted with a dialog "No records found" Is there a way to avoid or supress this dialog box? Thanks in advance for your help. Kind Regards, Adri Oosterwijk Link to comment Share on other sites More sharing options...
comment Posted March 19, 2011 Share Posted March 19, 2011 I am prompted with a dialog "No records found" Is there a way to avoid or supress this dialog box? Yes, by using the Set Error Capture [On] script step. Link to comment Share on other sites More sharing options...
Adri Oosterwijk Posted March 20, 2011 Author Share Posted March 20, 2011 Yes, by using the Set Error Capture [On] script step. Works great! Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 4342 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now