Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking corrupted table
Message
 
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 9 SP2
Divers
Thread ID:
01266135
Message ID:
01266138
Vues:
21
You can shorten the code to
IF INLIST(n_erro, 15, 41, 1707, 114, 2091)
...
Also OR and AND do not require surroinding dots


>Please check if is there any error missing
>I am using it to check corrupted tables
>
>***********************
>Use mytable.dbf
>
>IF n_erro = 15 .or. n_erro = 41 .or. n_erro = 1707 .or. n_erro = 114 .or. n_erro = 2091
>
>= messagebox (bad_table)
>
> endif
>***********************************************
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform