>>I am getting my msgbox but I still get a vfp error message. How to avaoid >>that.<<
What error? Unhandled Exception? LOOP does not seem necessary in your code since next line is the ENDSCAN. I am not sure I would put a LOOP inside a CATCH anyway. Rick White Light Computing, Inc. www.whitelightcomputing.com www.swfox.net www.rickschummer.com _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/00b801c979e6$87199710$954cc5...@com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.