Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database corrupted
Message
 
 
To
16/02/2011 09:01:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01500385
Message ID:
01500390
Views:
47
>Hi friends.
>
>I use a datatase for stored procedures. When I'm testing a program often cancels because of any error. Sometimes when I atempt to modify the stored procedures a message appears: "Record is out of range" or so.
>
>I was solving this problem restoring a previous version from a backup. I got a third party program to repare tables but I didn't find one to repare such VFP databases. I haven't lost a big change till now but I could stay a few hours programming a great function or procedure that gets the moon and I won't be very happy if I have to restore a previous backup.
>
>Every time I start one of my programs I "validate" so that's not a solution.
>
>Any idea?
>
>Thank you.
>
> Héctor

I suggest to do the following every time you're about to modify the database

1. PACK DATABASE myDB
2.COMPILE DATABASE myDB

Now it should be OK to modify.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform