raitis Posted September 17, 2012 Posted September 17, 2012 dear fmforum, i have a script (imaage attached) that exports images from my items. the problem is that i have about 600 items. each time i want to export the images, it does not skip the empty fields and i get an error message. is there a way to skip empty fields or remove the error message automatically? raitis
comment Posted September 18, 2012 Posted September 18, 2012 Try wrapping the export steps in a If statement, using = not IsEmpty ( YourTable::Containerfield ) as the test.
dsghs Posted September 18, 2012 Posted September 18, 2012 what comment said. To "remove" the error message, just set error capture to on on the first line of your script. But the proper way is to check to see if the fields are empty which is as simple as adding an If (not IsEmpty [ YourTable::Containerfield ]) statement between the Loop and Set Variable lines in your script.
Recommended Posts
This topic is 4448 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