Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tabelas DBF em VFP6 e VFP8
Message
De
21/01/2004 08:33:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Tabelas DBF em VFP6 e VFP8
Divers
Thread ID:
00868933
Message ID:
00868933
Vues:
62
Pessoal,

Tenho uma aplicação escrita em VFP6 que utiliza DataEnvironment com os cursores bufferizados com BufferModeOverwride = 5.

Um dos clientes se queixou que um dos forms não estava salvando as alterações - pedi backup e, verificando o arquivos CLIENTES.DBF, em VFP6 o arquivo é aberto sem problema nenhum, contudo em VFP8 é emitida a mensagem abaixo ao tentar abrir o arquivo:
----------
Microsoft Visual FoxPro
OK
Help
Table 'c:\clientes\dados\clientes.DBF' has become corrupted. The table will need to be repaired before using again.
----------

O Help do VFP8 diz isto:
----------
Either the table record count does not match the actual records in the table, or the file size on the disk does not match the expected file size from the table header. Repair the table using an appropriate third-party repair utility for Visual FoxPro tables before opening the table again.
----------

Perguntas:
1 - qual a causa disso?...
2 - qual a melhor maneira pra se resolver isso?...

----------------------------------------------------------------------

Pra que o cliente volte a trabalhar abri o arquivo em VFP6 e deu pack - aí tudo voltou ao normal.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform