Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking corrupted table
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01266135
Message ID:
01266138
Views:
20
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform