SCAN * Normal SCAN...ENDSCAN code goes here UNLESS condition * You can test a condition here, and if it fails this code will be executed * To restart the loop, issue RETRY * In this condition you might make sure a table is open, or a resource is available UNLESS condition2 * Several can exist * In this one you might check another table UNLESS conditionN * Once all tests have passed, the loop begins like normal * In this one you might check to see if the user's clicked the "cancel" button. :-) ENDSCANThere are several other ones: http://www.visual-freepro.org/wiki/index.php/VXB%2B%2B