Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Damaged File Headers
Message
From
22/05/1998 12:18:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/05/1998 12:11:32
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00100689
Message ID:
00101207
Views:
41
>>>I have an application written in FPW 2.6. From time to time a table becomes damaged. When the user takes an action that requires such a table being opened in a work area, error # 15 ('Not a table') results.
>>>
>>>Is there any simple action that may be taken programmatically to restore the .DBF file?
>>>
>>>Is there already a good utility on the market that does this well?
>>>
>>>Is there a way to check for the integrity of a .DBF file in a maintenance procedure so that the problem doesn't have to be found by the user in the middle of a session?
>>James,
>>To keep it away from user seeing in the middle an error handler might be used. These type of errors generally is a result of wrong reccount() info in header. Without exclusive access it can't be corrected on site (typically you would have exclusive access to such a table). But I think keeping the repair process as a separate app is better. I'll mail you my own routines (as legal stuff - use at your own risk and read out the details). BTW if this is Novell (where I have encountered most, try setting TTS on). Good luck.
>>Cetin
>
>Cetin,
>
>Thanks for the tip.
>
>I have been asked to develop an utility to perform maintenance on the tables which are accessed by the application mentioned above. I'd certainly appreciate an opportunity to look over any code you would care to send me. My e-mail address is james@datasmith-cs.com.
>
>The application is running on a Novell Netware 4.0 network.
>
>James
On the way. I would ask a personal question regarding Novell 4.0. Don't you have many problems using 4.0x versions ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform