Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internal Consistency Error
Message
From
21/02/1998 15:35:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/02/1998 03:16:59
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00065008
Message ID:
00080286
Views:
32
>>>When I close a form code window VFP 5.0a performs a syntax check. If it finds an error it pops up a window with the options "Cancel, Ignore, Ignore All". Quite often selecting any option causes VFP to bomb with an Internal Consistency Error. I then lose all the changes I have made to the form since the last save. Has any one else seen this problem, and if so is there any way to fix it.
>>>
>>>Thank you in advance for your help.
>>
>>
>>Delete your resource file (FOXUSER.*).
>
>
>Is there a way to delete the FoxUser file as the application (EXE) boots? I'm thinking about making a BAT file for the user's desktop to do this and subsequently boot the app, but... is there a way from within VFP?
>
>--Greg

Set Resource off && close the resource file
erase (Set("resource",1)) && erase it

This doesn't erase foxuser.fpt, you may have to add a few lines to do that too. I think there's a better way - why not save a good Foxuser file into a spare .dbf, and then, in cases when foxuser is damaged

Set Resource off && close the resource file
erase (Set("resource",1)) && erase it
use SpareFoxuser
copy to (Set("resource",1))
Use
Set Resource On

This way you don't have to rebuild all the settings which were saved in the resource file - just those which were added after the last save.

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