Hi Bob,
>Thanks for your reply....I did think of that, but what a pain, It's a pretty good size routine meaning I'd have a lot of places to test for llError=.t. It just seems like there should be a better way...I was hoping I was missing something simple.
One other idea. Move all the code in the loop to a seperate procedure. Then call the procedure in your loop. Your on error routine could just do a return. That would bypass all subsequent processing for each loop instance.
HTH,
Bill Armbrecht
VFP MCP