>>>I FoxPro 2.5/6 whenever there was a problem in the table header with a table an error 15 - Not a database file - was generated. This would occur when you attempted to open and consequently in most cases before anything bad happened. VFP apparently does not generate this error and consequently bad things most assuredly do happen. I WANT ERROR 15 BACK!
>>
>>Calvin,
>>
>>The instances where error 15 appeared in FPW and doesn't in VFP are usually connected with the record count in the header not matching the actual number of records. In FPW this would generate an error, in VFP it doesn't. I've used this feature a number of time to "fix" tables used by FPW. I simply open the table in exclusive mode in VFP, pack it and it's good to go in FPW again.
>
>Yes, that is nice and handy - when you have 2.6 around to show the problem in the first place.
You don't need 2.x. Simply read the value from the header and compare it to RECCOUNT(). If they don't match, you can fix it. If you couldn't open the table because the record count was wrong, you'd have to rely on a third party tool to fix it. Now this error only occurs when the header is really hosed.
Thanks very much, but I don't want it back the way it was before.
George
Ubi caritas et amor, deus ibi est