Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
>I wrote this program a long time ago (1993)
7 Years before I first used vfp...
Well, somewhere in all this time we got Header() and Recsize().
Of course you get the length of header and record for the
alias in the current workarea. If a table is corrupt, you
may not be able to use it to use these 2 functions, but if
it's just a misfit of reccount info in the header and file
length you can SET TABLEVALIDATE TO 0, then use the table and
get these 2 infos.
Also you can use Bintoc() to stuff the good reccount into the
header.
Nevertheless you need low level file access functions to change
the header.
Bye, Olaf.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement