Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDX replacement
Message
From
29/04/2007 01:50:00
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01220801
Message ID:
01220859
Views:
26
>Suppose my customer .CDX have a problem
>
>If I send him a new .CDX file, it will work ?
>
>Or does .CDX also keeps data and will never match other his .DBF ?

As long as you don't do anything radical in your CDX (like use an expression based on a UDF), yes, it will work, as follows:

1. Make sure all instances of your app are closed
2. Rename the old CDX to another name
3. Put the CDX you send in the same folder as the old one
4. REINDEX the table. This will re-sync the "good" CDX file you sent, with the customer's data
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform