4.Pack Posted February 13, 2001 Share Posted February 13, 2001 I have a script that searches through my DB for modified records then exports them and calls the same script in another DB and so on, the only thing is that if no records are modified then FM displays a dialog box "No records Match this request etc" which gives the user an option to kill the script, which I don't want them to be able to do, just for it to ignore it and go on to the next script. So how do I stop these dialog boxes from appearing ?? do I have to use something like the if records found =0 then else command ? something something any pointers would be nice Link to comment Share on other sites More sharing options...
yafreax Posted February 13, 2001 Share Posted February 13, 2001 first script step: set error capture [on] this will cause the script to continue on when no records are found. If you need it to do something special when no records are found, then after the Perform Find step, have an if statement: if [ "status(currtentfoundcount)=0"] rest of script here. hope it helps. jeremy Link to comment Share on other sites More sharing options...
4.Pack Posted February 14, 2001 Author Share Posted February 14, 2001 thanks I'll give that a go Andy Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8663 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