Jump to content

Auto skip through dialog boxes


This topic is 8444 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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 smile.gif

Link to comment
Share on other sites

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

This topic is 8444 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.