General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Tabelas DBF em VFP6 e VFP8
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only