Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROBLEM: CHECK with error on CREATE CURSOR/TABLE
Message
De
06/09/2003 10:30:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
PROBLEM: CHECK with error on CREATE CURSOR/TABLE
Divers
Thread ID:
00826736
Message ID:
00826736
Vues:
69
Hi,

If CHECK expression is bad, the error ignore TRY...ENDTRY.
CLEAR
CREATE CURSOR myCursor (f1 c(20) CHECK f1=2 )
TRY
	APPEND BLANK
CATCH
	MESSAGEBOX(MESSAGE(),0,'my Error Box 1')  
ENDTRY

CREATE CURSOR myCursor (f1 c(20) CHECK f1=A+2 )
TRY
	APPEND BLANK
CATCH
	MESSAGEBOX(MESSAGE(),0,'my Error Box 2')  
ENDTRY
Note: this problem occurs also on VFP6/7/8 with ON ERROR error handling schema.

Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform