Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What can corrupt a DBC or a DBF
Message
From
27/07/2000 17:40:56
 
 
To
27/07/2000 14:44:43
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00397789
Message ID:
00397915
Views:
18
>I have a user that is running a VFP6 application. Twice now he corrupted his DBC file. If I USE mydbc.dbc and BROWSE, I see that a bunch of garbage records were appended to the DBC and the DBC lost most of it's connections to it's tables.
>
>I had to FREE TABLE on all his tables and ADD TABLES and redo the views.
>
>What can cause a DBF or a DBC to get corrupted? Abnormal shutdowns like a power outage or re-booting without quiting out of the app?
>

Those are the obvious ways; terminating VFP through Task Manager, and I've seen it when someone turned on power-saving features that turned off the hard drive after some period of inactivity. A screen saver that blanks the screen and shows no activity, or a monitor that shuts off after some idle period, is an open invitation to accidental powerdowns. Use of outdated disk utilities; I recently had to deal with a user who ran a DOS version of Norton utilities on a Win95 system, which completely trashed the directories since it mishandled long file names in directories - thankfully they didn't do anything with the defrag program, which didn't understand drives larger than 32MB...

>This happened to him twice now. All other users have no problems like this.
>
>Thanks,
>
>Jerryt
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform