Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting the index
Message
 
 
To
20/04/2005 12:37:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01006573
Message ID:
01006606
Views:
21
Yes, here's a sample code
LOCAL oExp AS Exception
CLOSE DATABASES 

CREATE TABLE testxx (fld1 C(10), fld2 C(10))
INDEX ON fld1 TAG fld1
USE

ERASE ("testxx.cdx")

SELECT 0
TRY 
	USE testxx
CATCH TO oExp WHEN oExp.ErrorNo = 1707
FINALLY
	USE testxx
ENDTRY
>OK. But with the TRY...ENDTRY won't the TRY fail due to the missing CDX and then fall to the CATCH block?
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform