Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tabelas DBF em VFP6 e VFP8
Message
From
21/01/2004 08:33:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Tabelas DBF em VFP6 e VFP8
Miscellaneous
Thread ID:
00868933
Message ID:
00868933
Views:
63
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.
Next
Reply
Map
View

Click here to load this message in the networking platform