Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Open Form (Not a table when USE formname.SCX)
Message
From
29/09/2001 14:29:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
29/09/2001 02:24:01
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00562210
Message ID:
00562277
Views:
19
>Some forms in my project cannot open at all
>When I try to USE formname.SCX it gives an error with "Not a table"
>Maybe the file header has corrupted....
>Can any one help me to recover it ?

Depending on what actually happened, you may have luck with recovery tools, or you may have the trouble with write-cached IDE drive under W2K (and maybe NT4 as well, not sure). For some reason, .sct files are treated as specially dangerous because .sct is also an extension for some script files. Somewhere in the OS it happen these files are not properly flushed to the disk on OS shutdown, you get a file with a few kilobytes of zero bytes instead of its original content. This can be easily cured by turning the write caching off (at least before shutdown), but the trouble is the OS always restores the setting after each reboot.

Another solution is to rename your forms' extension to something else ending in x - modify form frm1.zcx produces two files, frm1.zcx and frm1.zct - which is not affected with this OS bug. The problem is you have to do more work in the project manager, as it may or may not recognize these files as forms.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform