September 17, 201213 yr 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
September 18, 201213 yr Try wrapping the export steps in a If statement, using = not IsEmpty ( YourTable::Containerfield ) as the test.
September 18, 201213 yr 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.
Create an account or sign in to comment