Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chr(0) damage
Message
 
 
À
04/07/2001 10:49:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00526682
Message ID:
00526748
Vues:
13
>The operation of our main app involves the distribution of free FoxPro tables across our WAN. For reasons yet unknown, the data sometimes suffers corruption. Randomly, character field data will be replaced by chr(0).
>
>Q1: Does anyone have experience with this problem?

Yes I have encouner a similar problem. IMO it's a result of network/hardware problems but it's very hard to prove it to the network guys. The only way to fix damage is to restore the table from a backup.

>
>We have recently encountered a corrupted table which FoxPro would happily open but unfortunately would not handle properly. It appears that we can't reliably detect this problem using FoxPro code.
>
>Q2: What would be the best means of handling this kind of damage?


Usually Foxpro just blows up on that kind of damaged table. I don't think there is a way to detect it progrmmaticaly besides opening dbf file by low level i/o function and check for chr(0) in the records area.

>
>Thanks
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform