Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Indexing...
Message
From
21/10/1999 11:12:38
 
 
To
21/10/1999 09:57:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00279260
Message ID:
00279365
Views:
14
>Hi,
> How could we do all of these steps (use table, ignore the error and force to open table) programmatically?

Use an error handler to trap the error. (See ON ERROR). When you USE the table the error handler will fire. In the error handler, you can delete the CDX. You will then need to USE table. The table is not yet open. USE the table and INDEX ON or ALTER TABLE to create the CDX.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform