Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

corrupt fpt

Status
Not open for further replies.

taterday

Programmer
Jan 28, 2009
183
US
Are there anyway to trap for a corrupt fpt or determine that it is corrupt to remove the contents.

Thank you,
 
Take a look at faq184-5641. This wil give you one suggestion for dealing with corruption, but it won't cover every case.

As for how to detect the corruption, I know you are considering upgrading to VFP 9.0. If you do, you can use error-trapping, that is, you can wrap your USE statement in a TRY / CATCH / ENDTRY.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top