Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting the index
Message
 
 
À
20/04/2005 12:37:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01006573
Message ID:
01006606
Vues:
19
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform