Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDX replacement
Message
De
01/05/2007 01:31:26
 
 
À
30/04/2007 09:23:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01220801
Message ID:
01221348
Vues:
15
>>I should have been clearer - what I meant by "radical" as a UDF expression is the case where the UDF references something that, for example, exists only within the app e.g. goApp.SomeProperty or goApp.SomeMethod().
>
>Okay, that is more complicated, but not impossible.
>
>Nevertheless I like that and how easy that approach works compared to what Naomi suggests: While it might be cleaner to delete all tags and create indexes from meta data or a saved script like gendbc creates, it's really simple to use an empty cdx file saved at table creation and then use REINDEX to rebuild the CDX file. Even if you did not save an empty cdx you could use any working version or could use gendbc, recreate the empty database and use that cdx file as a base for REINDEX, very universal.

I read a message here a little while back from someone who was actually including empty CDXs in his .EXE, and writing them out to disk with STRTOFILE() as part of a data repair process.

e.g. Message#957803 , Message#1055227

>
>And regarding those impossible to recreate indexexpressions like Datetime() or Rand(), you have the same problem to reindex that using Naomis technique.
>
>Bye, Olaf.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform