General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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.
Previous
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